pinctrl: samsung: use CONFIG_PINCTRL_SAMSUNG symbol in makefile
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Wed, 27 Aug 2014 09:48:09 +0000 (15:18 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Aug 2014 12:35:58 +0000 (14:35 +0200)
Samsung Exynos7 is a ARM64bit processor. Which does not select
the CONFIG_PLAT_SAMSUNG symbol. CONFIG_PINCTRL_SAMSUNG is being
selected for both PLAT_SAMSUNG and ARCH_EXYNOS7 symbols.

This patch modifes the pinctrl/Makefile to use
CONFIG_PINCTRL_SAMSUNG symbol to compile the pinctrl/samsung/*.c

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: linus.walleij@linaro.org
Cc: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile

index b906ef18440917e05924c7d2a8e76d928a1ccd1b..7ebb3c5a9c30204a5fd844558da939c3d799a72d 100644 (file)
@@ -59,7 +59,7 @@ obj-$(CONFIG_ARCH_BERLIN)     += berlin/
 obj-$(CONFIG_PLAT_ORION)        += mvebu/
 obj-y                          += nomadik/
 obj-$(CONFIG_ARCH_QCOM)                += qcom/
-obj-$(CONFIG_PLAT_SAMSUNG)     += samsung/
+obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
 obj-$(CONFIG_ARCH_SHMOBILE)    += sh-pfc/
 obj-$(CONFIG_SUPERH)           += sh-pfc/
 obj-$(CONFIG_PLAT_SPEAR)       += spear/