ARM: pxa: fix gpio_to_chip() clash with gpiolib namespace
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Jun 2011 08:42:19 +0000 (10:42 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 11 Jul 2011 06:11:00 +0000 (14:11 +0800)
commita065685d2f0b4bb69d0f64d2cd396a5c463db2a9
tree481982b37aaf5f6338208a91b07f672132c522a4
parent6662498e132dfa758925a160fd5ef80a083651c3
ARM: pxa: fix gpio_to_chip() clash with gpiolib namespace

The PXA platform code has a static inline helper called
gpio_to_chip which clashes with the gpiolib namespace if we
try to expose the function with the same name from gpiolib,
and it's still confusing even if we don't do that. So rename
it to gpio_to_pxachip().

Reported-by: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: Eric Miao <eric.miao@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/plat-pxa/gpio.c