diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-10 21:13:04 +0900 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-20 22:48:14 +0900 |
commit | 43b426d6fae80722c7566e73ed27ef553a91e2d6 (patch) | |
tree | 21a9805ca0194203d7996f9d00e8abd18df700d2 /arch | |
parent | ab294726107639ca835cf1ed1cfc5092fcf53903 (diff) | |
download | op-kernel-dev-43b426d6fae80722c7566e73ed27ef553a91e2d6.zip op-kernel-dev-43b426d6fae80722c7566e73ed27ef553a91e2d6.tar.gz |
arm: plat-orion: 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')
-rw-r--r-- | arch/arm/plat-orion/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-orion/Makefile b/arch/arm/plat-orion/Makefile index a82cecb..bbc0d6b 100644 --- a/arch/arm/plat-orion/Makefile +++ b/arch/arm/plat-orion/Makefile @@ -5,6 +5,6 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include obj-y += addr-map.o -orion-gpio-$(CONFIG_GENERIC_GPIO) += gpio.o +orion-gpio-$(CONFIG_GPIOLIB) += gpio.o obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y) |