Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1417911 > unrolled thread

[PATCH] pinctrl: Always recurse into bcm folder

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2016-06-08 23:50 +0200
Last post2016-06-13 09:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] pinctrl: Always recurse into bcm folder Florian Fainelli <f.fainelli@gmail.com> - 2016-06-08 23:50 +0200
    Re: [PATCH] pinctrl: Always recurse into bcm folder Scott Branden <scott.branden@broadcom.com> - 2016-06-09 01:00 +0200
    Re: [PATCH] pinctrl: Always recurse into bcm folder Linus Walleij <linus.walleij@linaro.org> - 2016-06-13 09:00 +0200

#1417911 — [PATCH] pinctrl: Always recurse into bcm folder

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-06-08 23:50 +0200
Subject[PATCH] pinctrl: Always recurse into bcm folder
Message-ID<rHTwl-5BL-7@gated-at.bofh.it>
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>
---
 drivers/pinctrl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index 25ec45090620..8ebd7b8e1621 100644
--- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile
@@ -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/
-- 
2.7.4

[toc] | [next] | [standalone]


#1417936

FromScott Branden <scott.branden@broadcom.com>
Date2016-06-09 01:00 +0200
Message-ID<rHUC5-6hJ-13@gated-at.bofh.it>
In reply to#1417911
Looks good.

On 16-06-08 02:44 PM, Florian Fainelli wrote:
> 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>
> ---
>   drivers/pinctrl/Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
> index 25ec45090620..8ebd7b8e1621 100644
> --- a/drivers/pinctrl/Makefile
> +++ b/drivers/pinctrl/Makefile
> @@ -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

[toc] | [prev] | [next] | [standalone]


#1420492

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-06-13 09:00 +0200
Message-ID<rJu0O-2EM-3@gated-at.bofh.it>
In reply to#1417911
On Wed, Jun 8, 2016 at 11:44 PM, Florian Fainelli <f.fainelli@gmail.com> wrote:

> 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>

Patch applied with Scott's ACK.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web