Commit aa6c16c4 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

net: bcmgenet: drop COMPILE_TEST dependency

The last patch added the dependency on 'OF && HAS_IOMEM' but left
COMPILE_TEST as an alternative, which kind of defeats the purpose
of adding the dependency, we still get randconfig build warnings:

warning: (NET_DSA_BCM_SF2 && BCMGENET) selects MDIO_BCM_UNIMAC which has unmet direct dependencies (NETDEVICES && MDIO_BUS && HAS_IOMEM && OF_MDIO)

For compile-testing purposes, we don't really need this anyway,
as CONFIG_OF can be enabled on all architectures, and HAS_IOMEM
is present on all architectures we do meaningful compile-testing on
(the exception being arch/um).

This makes both OF and HAS_IOMEM hard dependencies.

Fixes: 5af74bb4 ("net: bcmgenet: Add dependency on HAS_IOMEM && OF")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 956a25c9
...@@ -61,7 +61,7 @@ config BCM63XX_ENET ...@@ -61,7 +61,7 @@ config BCM63XX_ENET
config BCMGENET config BCMGENET
tristate "Broadcom GENET internal MAC support" tristate "Broadcom GENET internal MAC support"
depends on (OF && HAS_IOMEM) || COMPILE_TEST depends on OF && HAS_IOMEM
select MII select MII
select PHYLIB select PHYLIB
select FIXED_PHY select FIXED_PHY
......
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