pinctrl: Always recurse into bcm folder
Subsystems (2)
PATCH 1/1 pinctrl: Always recurse into bcm folder
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.
--- drivers/pinctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/Makefile +1 -1
@@ -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/
Signature · 1 line
2.7.4
Looks good.
Quoted 7 lines · Florian Fainelli
drivers/pinctrl/bcm/Makefileproperly builds individual drivers based on their respectiveKconfigsymbols.ARCH_BCMis currently a menuconfig option fromarch/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 <[email protected]>
Quoted 10 lines
--- drivers/pinctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pinctrl/Makefile +0
-0
drivers/pinctrl/Makefile obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o · line 43
Quoted 8 lines
drivers/pinctrl/Makefile +1
-1@@ -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/
Regards,
Scott
Quoted 7 lines · Florian Fainelli
drivers/pinctrl/bcm/Makefileproperly builds individual drivers based on their respectiveKconfigsymbols.ARCH_BCMis currently a menuconfig option fromarch/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 <[email protected]>
Patch applied with Scott's ACK.
Yours,
Linus Walleij