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 a82cecb..bbc0d6b 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)