* [PATCH] pinctrl: bcm281xx: make Kconfig dependency more strict
@ 2014-09-24 8:15 Uwe Kleine-König
2014-09-25 7:54 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2014-09-24 8:15 UTC (permalink / raw)
To: linux-arm-kernel
This driver is only useful on BCM281xx, so let the driver depend on
ARCH_BCM_MOBILE but allow compile coverage testing.
The main benefit is that the driver isn't available to be selected for
machines that don't have the matching hardware.
Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
This patch was sent earlier when the Kconfig symbol was still named
"PINCTRL_CAPRI":
Date: Tue, 1 Apr 2014 22:10:21 +0200
Subject: [PATCH] pinctrl: capri: make Kconfig dependency more strict
Message-Id: <1396383021-2295-1-git-send-email-u.kleine-koenig@pengutronix.de>
and got a
Reviewed-by: Sherman Yin <syin@broadcom.com>
back then.
Best regards
Uwe
drivers/pinctrl/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index bfd2c2e9f6cd..a95d5ca6d830 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -86,7 +86,7 @@ config PINCTRL_BCM2835
config PINCTRL_BCM281XX
bool "Broadcom BCM281xx pinctrl driver"
- depends on OF
+ depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
select PINMUX
select PINCONF
select GENERIC_PINCONF
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] pinctrl: bcm281xx: make Kconfig dependency more strict
2014-09-24 8:15 [PATCH] pinctrl: bcm281xx: make Kconfig dependency more strict Uwe Kleine-König
@ 2014-09-25 7:54 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-09-25 7:54 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 24, 2014 at 10:15 AM, Uwe Kleine-K?nig
<u.kleine-koenig@pengutronix.de> wrote:
> This driver is only useful on BCM281xx, so let the driver depend on
> ARCH_BCM_MOBILE but allow compile coverage testing.
> The main benefit is that the driver isn't available to be selected for
> machines that don't have the matching hardware.
>
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> ---
> This patch was sent earlier when the Kconfig symbol was still named
> "PINCTRL_CAPRI":
>
> Date: Tue, 1 Apr 2014 22:10:21 +0200
> Subject: [PATCH] pinctrl: capri: make Kconfig dependency more strict
> Message-Id: <1396383021-2295-1-git-send-email-u.kleine-koenig@pengutronix.de>
>
> and got a
>
> Reviewed-by: Sherman Yin <syin@broadcom.com>
>
> back then.
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-25 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 8:15 [PATCH] pinctrl: bcm281xx: make Kconfig dependency more strict Uwe Kleine-König
2014-09-25 7:54 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.