Commit e4742d57 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Linus Walleij

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarSherman Yin <syin@broadcom.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7b31997a
...@@ -86,7 +86,7 @@ config PINCTRL_BCM2835 ...@@ -86,7 +86,7 @@ config PINCTRL_BCM2835
config PINCTRL_BCM281XX config PINCTRL_BCM281XX
bool "Broadcom BCM281xx pinctrl driver" bool "Broadcom BCM281xx pinctrl driver"
depends on OF depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
select PINMUX select PINMUX
select PINCONF select PINCONF
select GENERIC_PINCONF select GENERIC_PINCONF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment