]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: drop COMPILE_TEST dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 1 Aug 2017 11:50:56 +0000 (13:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2017 17:42:33 +0000 (10:42 -0700)
commit39c4700d4de1aaa1ccc6a279a853d6cac43651c7
tree45b6058c24bc8be929a804341cbe1cd1267e92b1
parentaa16e1bb9373b32d31f72f5413d624e5f59f8fa0
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: aaff483bcd5c ("net: bcmgenet: Add dependency on HAS_IOMEM && OF")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/Kconfig