diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-10 08:13:04 -0400 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-20 09:48:14 -0400 |
commit | 43b426d6fae80722c7566e73ed27ef553a91e2d6 (patch) | |
tree | 21a9805ca0194203d7996f9d00e8abd18df700d2 | |
parent | ab294726107639ca835cf1ed1cfc5092fcf53903 (diff) |
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>
-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 a82cecb84948..bbc0d6b6aac4 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 | |||
5 | 5 | ||
6 | obj-y += addr-map.o | 6 | obj-y += addr-map.o |
7 | 7 | ||
8 | orion-gpio-$(CONFIG_GENERIC_GPIO) += gpio.o | 8 | orion-gpio-$(CONFIG_GPIOLIB) += gpio.o |
9 | obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o | 9 | obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o |
10 | obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y) | 10 | obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y) |