Skip to content

Commit

Permalink
enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"
Browse files Browse the repository at this point in the history
ARCH_LAYERSCAPE isn't needed for this driver, it builds and
sends/receives traffic without this config option just fine.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Vladimir Oltean authored and David S. Miller committed Feb 21, 2020
1 parent 5c4b513 commit feb5d98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/freescale/enetc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
config FSL_ENETC
tristate "ENETC PF driver"
depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
depends on PCI && PCI_MSI
select FSL_ENETC_MDIO
select PHYLIB
help
Expand All @@ -13,7 +13,7 @@ config FSL_ENETC

config FSL_ENETC_VF
tristate "ENETC VF driver"
depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
depends on PCI && PCI_MSI
select PHYLIB
help
This driver supports NXP ENETC gigabit ethernet controller PCIe
Expand All @@ -23,7 +23,7 @@ config FSL_ENETC_VF

config FSL_ENETC_MDIO
tristate "ENETC MDIO driver"
depends on PCI && (ARCH_LAYERSCAPE || COMPILE_TEST)
depends on PCI
help
This driver supports NXP ENETC Central MDIO controller as a PCIe
physical function (PF) device.
Expand Down

0 comments on commit feb5d98

Please sign in to comment.