]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB
authorAlexandre Courbot <acourbot@nvidia.com>
Sun, 10 Mar 2013 12:13:04 +0000 (21:13 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Wed, 20 Mar 2013 13:48:14 +0000 (22:48 +0900)
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>
arch/arm/plat-orion/Makefile

index a82cecb849485002c57123abaf89f1d33290fea5..bbc0d6b6aac4323ad91b0a508530c5f6e66e8c80 100644 (file)
@@ -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)