[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20100811120327.bbdd4310.randy.dunlap@oracle.com>
Date: Wed, 11 Aug 2010 12:03:27 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>,
Jordan Crouse <jordan.crouse@....com>,
Jim Cromie <jim.cromie@...il.com>
Subject: [PATCH] pc8736x_gpio: depends on X86_32
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix kconfig dependency warning for PC8736x_GPIO by restricting it
to X86_32.
warning: (SCx200_GPIO && SCx200 || PC8736x_GPIO && X86) selects NSC_GPIO which has unmet direct dependencies (X86_32)
NSC_GPIO is X86_32 only. The other driver (SCx200_GPIO) that selects
NSC_GPIO is X86_32 only (indirectly, since SCx200 depends on X86_32),
so limit this driver also.
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Jordan Crouse <jordan.crouse@....com>
Cc: Jim Cromie <jim.cromie@...il.com>
---
drivers/char/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.35-git10.orig/drivers/char/Kconfig
+++ linux-2.6.35-git10/drivers/char/Kconfig
@@ -1002,7 +1002,7 @@ config SCx200_GPIO
config PC8736x_GPIO
tristate "NatSemi PC8736x GPIO Support"
- depends on X86
+ depends on X86_32
default SCx200_GPIO # mostly N
select NSC_GPIO # needed for support routines
help
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists