Skip to contentSkip to conversation

enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"

PATCH Applied Vladimir Oltean 3 participants 3 messages Feb 21, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"

From: Vladimir Oltean <[email protected]>

ARCH_LAYERSCAPE isn't needed for this driver, it builds and sends/receives traffic without this config option just fine.

---
 drivers/net/ethernet/freescale/enetc/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/freescale/enetc/Kconfig +3 -3
index fe942de19597..f86283411f4d 100644
@@ -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
@@ -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
@@ -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.
Signature · 1 line
2.17.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: Vladimir Oltean <[email protected]>
Sent: Friday, February 21, 2020 4:46 PM
To: [email protected]
Cc: Claudiu Manoil <[email protected]>; [email protected]
Subject: [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"

Quoted 6 lines

From: Vladimir Oltean <[email protected]>

ARCH_LAYERSCAPE isn't needed for this driver, it builds and sends/receives traffic without this config option just fine.