From: Alexandre Courbot Date: Sun, 10 Mar 2013 12:13:04 +0000 (+0900) Subject: arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB X-Git-Tag: upstream/snapshot3+hdmi~5138^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43b426d6fae80722c7566e73ed27ef553a91e2d6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Acked-by: Arnd Bergmann Acked-by: Linus Walleij --- 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)