Re: [PATCH 06/14] pinctrl: samsung: use CONFIG_PINCTRL_SAMSUNG symbol in makefile

2014-09-03 Thread Naveen Krishna Ch
On 29 August 2014 18:07, Linus Walleij linus.wall...@linaro.org wrote:
 On Wed, Aug 27, 2014 at 11:48 AM, Naveen Krishna Chatradhi
 ch.nav...@samsung.com wrote:

 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.nav...@samsung.com
 Cc: Tomasz Figa t.f...@samsung.com
 Cc: linus.wall...@linaro.org
 Cc: Thomas Abraham thomas...@samsung.com

 Excellent catch, thanks, patch applied!

Thanks Linus.


 I should use this pattern on more places in the Makefile,
 I was confused by logically thinking that Kconfig symbols
 used in Makefile cannot be from a Kconfig one level below.

 Yours,
 Linus Walleij


-- 
Shine bright,
(: Nav :)
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 06/14] pinctrl: samsung: use CONFIG_PINCTRL_SAMSUNG symbol in makefile

2014-08-29 Thread Linus Walleij
On Wed, Aug 27, 2014 at 11:48 AM, Naveen Krishna Chatradhi
ch.nav...@samsung.com wrote:

 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.nav...@samsung.com
 Cc: Tomasz Figa t.f...@samsung.com
 Cc: linus.wall...@linaro.org
 Cc: Thomas Abraham thomas...@samsung.com

Excellent catch, thanks, patch applied!

I should use this pattern on more places in the Makefile,
I was confused by logically thinking that Kconfig symbols
used in Makefile cannot be from a Kconfig one level below.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 06/14] pinctrl: samsung: use CONFIG_PINCTRL_SAMSUNG symbol in makefile

2014-08-27 Thread Naveen Krishna Chatradhi
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.nav...@samsung.com
Cc: Tomasz Figa t.f...@samsung.com
Cc: linus.wall...@linaro.org
Cc: Thomas Abraham thomas...@samsung.com
---
 drivers/pinctrl/Makefile |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index 05d2275..801777e 100644
--- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile
@@ -58,7 +58,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/
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html