diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-09-24 10:15:24 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-25 09:53:39 +0200 |
commit | e4742d5769e7f502f1b928b759ddecabf03375d7 (patch) | |
tree | 3fdd8a3261bec921876001ad53b961e2447f8057 /drivers | |
parent | 7b31997a734cd24c305d5c58a366e4c8f7673e02 (diff) | |
download | op-kernel-dev-e4742d5769e7f502f1b928b759ddecabf03375d7.zip op-kernel-dev-e4742d5769e7f502f1b928b759ddecabf03375d7.tar.gz |
pinctrl: bcm281xx: make Kconfig dependency more strict
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>
Reviewed-by: Sherman Yin <syin@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index bfd2c2e..a95d5ca 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 |