Re: [PATCH net-next] net: bcmgenet: Add dependency on HAS_IOMEM && OF

2017-07-31 Thread David Miller
From: Florian Fainelli Date: Mon, 31 Jul 2017 17:53:07 -0700 > The driver needs CONFIG_HAS_IOMEM and OF to be functional, but we still > let it build with COMPILE_TEST. This fixes the unmet dependency after > selecting MDIO_BCM_UNIMAC in commit mentioned below: > > warning: (NET_DSA_BCM_SF2 && B

[PATCH net-next] net: bcmgenet: Add dependency on HAS_IOMEM && OF

2017-07-31 Thread Florian Fainelli
The driver needs CONFIG_HAS_IOMEM and OF to be functional, but we still let it build with COMPILE_TEST. This fixes the unmet dependency after selecting MDIO_BCM_UNIMAC in commit mentioned below: warning: (NET_DSA_BCM_SF2 && BCMGENET) selects MDIO_BCM_UNIMAC which has unmet direct dependencies (NET