ARM: PXA: fix gpio-pxa.h build errors
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2011 22:03:25 +0000 (22:03 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2011 22:26:40 +0000 (22:26 +0000)
commit7124cb96cadc5f9990ade39780b672b01bfc6484
tree227082a57a4f4c34b1b2417bb5be171180f71cf7
parent4fc7ae3c849a5a15965c1d41b59b0a606119e71a
ARM: PXA: fix gpio-pxa.h build errors

A mismerge in 43872fa (Merge branch 'depends/rmk/gpio' into next/fixes)
causes these build errors:

In file included from arch/arm/mach-pxa/include/mach/gpio.h:30,
                 from arch/arm/include/asm/gpio.h:6,
                 from include/linux/gpio.h:31,
                 from arch/arm/mach-pxa/generic.c:20:
arch/arm/mach-pxa/include/mach/gpio-pxa.h: In function ■__gpio_is_occupied■:
arch/arm/mach-pxa/include/mach/gpio-pxa.h:121: error: invalid operands to binary >> (have ■void *■ and ■unsigned int■)
arch/arm/mach-pxa/include/mach/gpio-pxa.h:122: error: invalid operands to binary & (have ■void *■ and ■int■)
arch/arm/mach-pxa/include/mach/gpio-pxa.h:129: error: invalid operands to binary & (have ■void *■ and ■int■)

So fix them.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/include/mach/gpio-pxa.h