]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefa21286f27553cf479e0929e4ced07f7c0eac52
tree481982b37aaf5f6338208a91b07f672132c522a4
parent537f601e35e188cc6f3aa26b238ed851c18fa193
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