Skip to content

Commit feb5d98

Browse files
vladimirolteandavem330
authored andcommitted
enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"
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 <[email protected]> Acked-by: Claudiu Manoil <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5c4b513 commit feb5d98

File tree

1 file changed

+3
-3
lines changed
  • drivers/net/ethernet/freescale/enetc

1 file changed

+3
-3
lines changed

drivers/net/ethernet/freescale/enetc/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
config FSL_ENETC
33
tristate "ENETC PF driver"
4-
depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
4+
depends on PCI && PCI_MSI
55
select FSL_ENETC_MDIO
66
select PHYLIB
77
help
@@ -13,7 +13,7 @@ config FSL_ENETC
1313

1414
config FSL_ENETC_VF
1515
tristate "ENETC VF driver"
16-
depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
16+
depends on PCI && PCI_MSI
1717
select PHYLIB
1818
help
1919
This driver supports NXP ENETC gigabit ethernet controller PCIe
@@ -23,7 +23,7 @@ config FSL_ENETC_VF
2323

2424
config FSL_ENETC_MDIO
2525
tristate "ENETC MDIO driver"
26-
depends on PCI && (ARCH_LAYERSCAPE || COMPILE_TEST)
26+
depends on PCI
2727
help
2828
This driver supports NXP ENETC Central MDIO controller as a PCIe
2929
physical function (PF) device.

0 commit comments

Comments
 (0)