lkml.org 
[lkml]   [2007]   [Dec]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 31 Dec 2007 11:10:16 -0800
FromRandy Dunlap <>
Subject[PATCH -mm] gpio: fix x86 build problem: gpio_keys
On Mon, 31 Dec 2007 10:40:27 -0800 David Brownell wrote:

> On Monday 31 December 2007, Randy Dunlap wrote:
> >   CC      drivers/input/keyboard/gpio_keys.o
> > In file included from /local/linsrc/linux-2.6.24-rc6-mm1/drivers/input/keyboard/gpio_keys.c:27:
> > include2/asm/gpio.h:4:18: error: gpio.h: No such file or directory
> 
> Find whatever broken patch selected (on x86_64)
> 
>    CONFIG_GENERIC_GPIO=y
> 
> without actually providing that support (by providing <asm/gpio.h> and
> an implementation backing it up).  That's the patch which broke those
> various GPIO-dependant drivers.

OK, thanks for the direction.

---
From: Randy Dunlap <randy.dunlap@oracle.com>

X86_RDC321X is X86_32, so make it depend on X86_32 so that
X86_64 random configs don't try to build RDC and fail.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 arch/x86/Kconfig |    1 +
 1 file changed, 1 insertion(+)
--- linux-2.6.24-rc6-mm1.orig/arch/x86/Kconfig
+++ linux-2.6.24-rc6-mm1/arch/x86/Kconfig
@@ -297,6 +297,7 @@ config X86_ES7000
 
 config X86_RDC321X
 	bool "RDC R-321x SoC"
+	depends on X86_32
 	select M486
 	select X86_REBOOTFIXUPS
 	select GENERIC_GPIO

\
 
 \ /
  Last update: 2007-12-31 20:13    [from the cache]
©2003-2008