All pinctrl drivers in subdirectories are properly guarded by individual
configuration symbols, so there is no need to limit the directories to
the belonging machines.

This allows wider COMPILE_TEST coverage on "foreign" targets.

Signed-off-by: Jonas Gorski <[email protected]>
---
 drivers/pinctrl/Makefile | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index cad077c..2eb25a8 100644
--- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile
@@ -39,17 +39,17 @@ obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
 obj-$(CONFIG_PINCTRL_ST)       += pinctrl-st.o
 obj-$(CONFIG_PINCTRL_ZYNQ)     += pinctrl-zynq.o
 
-obj-$(CONFIG_ARCH_BCM)         += bcm/
-obj-$(CONFIG_ARCH_BERLIN)      += berlin/
+obj-y                          += bcm/
+obj-y                          += berlin/
 obj-y                          += freescale/
-obj-$(CONFIG_X86)              += intel/
-obj-$(CONFIG_PLAT_ORION)        += mvebu/
+obj-y                          += intel/
+obj-y                          += mvebu/
 obj-y                          += nomadik/
-obj-$(CONFIG_ARCH_QCOM)                += qcom/
-obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
-obj-$(CONFIG_PINCTRL_SH_PFC)   += sh-pfc/
-obj-$(CONFIG_PLAT_SPEAR)       += spear/
-obj-$(CONFIG_ARCH_SUNXI)       += sunxi/
-obj-$(CONFIG_ARCH_UNIPHIER)    += uniphier/
-obj-$(CONFIG_ARCH_VT8500)      += vt8500/
-obj-$(CONFIG_ARCH_MEDIATEK)    += mediatek/
+obj-y                          += qcom/
+obj-y                          += samsung/
+obj-y                          += sh-pfc/
+obj-y                          += spear/
+obj-y                          += sunxi/
+obj-y                          += uniphier/
+obj-y                          += vt8500/
+obj-y                          += mediatek/
-- 
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to