bcmasp: BCMASP should depend on ARCH_BRCMSTB
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 Jul 2023 15:46:37 +0000 (17:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jul 2023 04:46:41 +0000 (21:46 -0700)
commit73365fe44aa52fcd3e634e502937eb029abd0ee0
treedeff0b8d252670c7c53dd3a813df60549c81e9bd
parent8b305ee2a91c3c4c89cb82ea940265b247eb0a13
bcmasp: BCMASP should depend on ARCH_BRCMSTB

The Broadcom ASP 2.0 Ethernet controller is only present on Broadcom STB
SoCs.  Hence add a dependency on ARCH_BRCMSTB, to prevent asking the
user about this driver when configuring a kernel without Broadcom
ARM-based set-top box chipset support.

Fixes: 490cb412007de593 ("net: bcmasp: Add support for ASP2.0 Ethernet controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Justin Chen <justin.chen@broadcom.com>
Link: https://lore.kernel.org/r/1e8b998aa8dcc6e38323e295ee2430b48245cc79.1690299794.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/Kconfig