diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-10 21:22:21 +0900 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-20 22:48:13 +0900 |
commit | 1b920175062bf5baaa94f50b0b309ceaf47ad019 (patch) | |
tree | 749d69191049dc93d340972356678ed7b356e1d9 /arch/mips/loongson | |
parent | 65e967324200a3cca9b1e903ed624b2a962e7b2b (diff) | |
download | linux-stable-1b920175062bf5baaa94f50b0b309ceaf47ad019.tar.gz linux-stable-1b920175062bf5baaa94f50b0b309ceaf47ad019.tar.bz2 linux-stable-1b920175062bf5baaa94f50b0b309ceaf47ad019.zip |
mips: loongson: use GPIO driver on CONFIG_GPIOLIB
The GPIO driver uses gpiolib, thus it should be compiled when
CONFIG_GPIOLIB is defined and not only CONFIG_GENERIC_GPIO.
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/loongson')
-rw-r--r-- | arch/mips/loongson/common/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/Makefile b/arch/mips/loongson/common/Makefile index e526488df655..4c57b3e5743f 100644 --- a/arch/mips/loongson/common/Makefile +++ b/arch/mips/loongson/common/Makefile @@ -4,7 +4,7 @@ obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \ pci.o bonito-irq.o mem.o machtype.o platform.o -obj-$(CONFIG_GENERIC_GPIO) += gpio.o +obj-$(CONFIG_GPIOLIB) += gpio.o # # Serial port support |