Skip to content

Commit

Permalink
net: ethernet: broadcom: Drop dependency on OF
Browse files Browse the repository at this point in the history
Both BCMGENET and SYSTEMPORT build just fine with CONFIG_OF=n, we do have a
dependency on HAS_IOMEM that was not being reflected for SYSTEMPORT so add
that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Jul 18, 2018
1 parent 8be7d96 commit 7f7b757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/broadcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ config BCM63XX_ENET

config BCMGENET
tristate "Broadcom GENET internal MAC support"
depends on OF && HAS_IOMEM
depends on HAS_IOMEM
select MII
select PHYLIB
select FIXED_PHY
Expand Down Expand Up @@ -181,7 +181,7 @@ config BGMAC_PLATFORM

config SYSTEMPORT
tristate "Broadcom SYSTEMPORT internal MAC support"
depends on OF
depends on HAS_IOMEM
depends on NET_DSA || !NET_DSA
select MII
select PHYLIB
Expand Down

0 comments on commit 7f7b757

Please sign in to comment.