提交 e4742d57 编写于 作者: U Uwe Kleine-König 提交者: 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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: NSherman Yin <syin@broadcom.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册