Re: [2.6 patch] asm-generic/gpio.h must #include <linux/errno.h>
From: David Brownell
Date: Mon Jul 28 2008 - 14:08:22 EST
On Monday 28 July 2008, Adrian Bunk wrote:
> CC arch/mips/kernel/gpio_txx9.o
> In file included from
> /home/bunk/linux/kernel-2.6/git/linux-2.6/include/asm-mips/mach-generic/gpio.h:19,
> from include2/asm/gpio.h:4,
> from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/gpio.h:7,
> from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/kernel/gpio_txx9.c:13:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/include/asm-generic/gpio.h: In function 'gpio_export':
> /home/bunk/linux/kernel-2.6/git/linux-2.6/include/asm-generic/gpio.h:163: error: 'ENOSYS' undeclared (first use in this function)
> /home/bunk/linux/kernel-2.6/git/linux-2.6/include/asm-generic/gpio.h:163: error: (Each undeclared identifier is reported only once
> /home/bunk/linux/kernel-2.6/git/linux-2.6/include/asm-generic/gpio.h:163: error: for each function it appears in.)
> make[2]: *** [arch/mips/kernel/gpio_txx9.o] Error 1
A similar patch from Atsushi Nemoto landed in my inbox 11 minutes
before yours ... so his gets the ack! ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/