aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-03-10 08:13:04 -0400
committerAlexandre Courbot <acourbot@nvidia.com>2013-03-20 09:48:14 -0400
commit43b426d6fae80722c7566e73ed27ef553a91e2d6 (patch)
tree21a9805ca0194203d7996f9d00e8abd18df700d2
parentab294726107639ca835cf1ed1cfc5092fcf53903 (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/Makefile2
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
6obj-y += addr-map.o 6obj-y += addr-map.o
7 7
8orion-gpio-$(CONFIG_GENERIC_GPIO) += gpio.o 8orion-gpio-$(CONFIG_GPIOLIB) += gpio.o
9obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o 9obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o
10obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y) 10obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y)