diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-10 08:22:21 -0400 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-20 09:48:13 -0400 |
commit | 1b920175062bf5baaa94f50b0b309ceaf47ad019 (patch) | |
tree | 749d69191049dc93d340972356678ed7b356e1d9 /arch/mips/loongson/common | |
parent | 65e967324200a3cca9b1e903ed624b2a962e7b2b (diff) |
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/common')
-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 @@ | |||
4 | 4 | ||
5 | obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \ | 5 | obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \ |
6 | pci.o bonito-irq.o mem.o machtype.o platform.o | 6 | pci.o bonito-irq.o mem.o machtype.o platform.o |
7 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o | 7 | obj-$(CONFIG_GPIOLIB) += gpio.o |
8 | 8 | ||
9 | # | 9 | # |
10 | # Serial port support | 10 | # Serial port support |