summaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9
diff options
context:
space:
mode:
authorAlexandre Courbot2013-03-11 03:45:00 +0100
committerAlexandre Courbot2013-03-20 14:48:14 +0100
commitf9612a65ec0a0457ee62c94e42f89abf2f8fbe21 (patch)
treeaa94ce7a356ecf95612f075536c21081329974a4 /arch/mips/txx9
parentmips: loongson: use GPIO driver on CONFIG_GPIOLIB (diff)
downloadkernel-qcow2-linux-f9612a65ec0a0457ee62c94e42f89abf2f8fbe21.tar.gz
kernel-qcow2-linux-f9612a65ec0a0457ee62c94e42f89abf2f8fbe21.tar.xz
kernel-qcow2-linux-f9612a65ec0a0457ee62c94e42f89abf2f8fbe21.zip
mips: txx9: change GENERIC_GPIO to GPIOLIB
The GPIO driver for txx9 requires gpiolib, so this is more accurate and let us get rid of one mention of GENERIC_GPIO which is due to disappear. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/mips/txx9')
-rw-r--r--arch/mips/txx9/generic/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c
index 5524f2c7b05c..5364aabc2102 100644
--- a/arch/mips/txx9/generic/setup.c
+++ b/arch/mips/txx9/generic/setup.c
@@ -118,7 +118,7 @@ EXPORT_SYMBOL(clk_put);
/* GPIO support */
-#ifdef CONFIG_GENERIC_GPIO
+#ifdef CONFIG_GPIOLIB
int gpio_to_irq(unsigned gpio)
{
return -EINVAL;