pinctrl: Always recurse into bcm folder
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 8 Jun 2016 21:44:15 +0000 (14:44 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Jun 2016 07:25:31 +0000 (09:25 +0200)
drivers/pinctrl/bcm/Makefile properly builds individual drivers based on
their respective Kconfig symbols. ARCH_BCM is currently a menuconfig
option from arch/arm/mach-bcm/Kconfig, which is fine, but prevents ARM64
platforms which do not have such menuconfig option from building their
pinctrl drivers, so let's get rid of that dependency.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile

index 2ed0b3f90a9efa5ac3e2cefecdd33d7e7d71c057..0c7f8ce4426a8fd6651ab686cede7408980a8082 100644 (file)
@@ -37,7 +37,7 @@ 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-y                          += bcm/
 obj-$(CONFIG_PINCTRL_BERLIN)   += berlin/
 obj-y                          += freescale/
 obj-$(CONFIG_X86)              += intel/