• Russell King's avatar
    ARM: PXA: fix gpio-pxa.h build errors · 7124cb96
    Russell King authored
    A mismerge in 43872fa7 (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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    7124cb96
gpio-pxa.h 4.43 KB