[PATCH -mm] gpio: fix x86 build problem: gpio_keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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 <[email protected]>
---
 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux