mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chen Gang <gang.chen@asianux.com>
To: Yoshinori Sato <ysato@users.sourceforge.jp>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	David Miller <davem@davemloft.net>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	linux-ide@vger.kernel.org
Subject: [PATCH] drivers: ide: Kconfig: let IDE_H8300 depends on H8300H_AKI3068NET or H8300H_H8MAX
Date: Thu, 29 Aug 2013 17:42:35 +0800	[thread overview]
Message-ID: <521F178B.7080407@asianux.com> (raw)
In-Reply-To: <521ED249.6080001@asianux.com>

According to the code in "arch/h8300/Kbuild.ide", IDE_H8300 need depend
on "H8300H_AKI3068NET || H8300H_H8MAX", or can not pass compiling with
allmodconfig for h8300.

The related error:

  drivers/ide/ide-h8300.c: In function 'hw_setup':
  drivers/ide/ide-h8300.c:73:27: error: 'CONFIG_H8300_IDE_BASE' undeclared (first use in this function)
  drivers/ide/ide-h8300.c:73:27: note: each undeclared identifier is reported only once for each function it appears in
  drivers/ide/ide-h8300.c:74:26: error: 'CONFIG_H8300_IDE_ALT' undeclared (first use in this function)
  drivers/ide/ide-h8300.c:75:23: error: 'CONFIG_H8300_IDE_IRQ' undeclared (first use in this function)
  drivers/ide/ide-h8300.c: In function 'h8300_ide_init':
  drivers/ide/ide-h8300.c:90:7: error: 'CONFIG_H8300_IDE_BASE' undeclared (first use in this function)
  drivers/ide/ide-h8300.c:92:7: error: 'CONFIG_H8300_IDE_ALT' undeclared (first use in this function)
  drivers/ide/ide-h8300.c: At top level:
  drivers/ide/ide-h8300.c:109:16: error: expected declaration specifiers or '...' before string constant


Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 drivers/ide/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index 02906ca..f79b49f 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -724,7 +724,7 @@ config BLK_DEV_IDE_RAPIDE
 
 config IDE_H8300
 	tristate "H8300 IDE support"
-	depends on H8300
+	depends on H8300H_AKI3068NET || H8300H_H8MAX
 	default y
 	help
 	  Enables the H8300 IDE driver.
-- 
1.7.7.6

      reply	other threads:[~2013-08-29  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29  3:51 [PATCH] h8300/kernel/timer/timer8.c: add the missing semicolon Chen Gang
2013-08-29  4:44 ` Chen Gang
2013-08-29  4:47 ` [PATCH v2] " Chen Gang
2013-08-29  9:42   ` Chen Gang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=521F178B.7080407@asianux.com \
    --to=gang.chen@asianux.com \
    --cc=davem@davemloft.net \
    --cc=geert@linux-m68k.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome