Thread (20 messages) 20 messages, 4 authors, 2023-08-17

[RFC net-next v1 2/5] net: phy: remove MACSEC guard

flat view
STALE1161d SUPERSEDED

From: Radu Pirea (NXP OSS) <hidden>
Date: 2023-08-11 15:33:54
Also in: lkml
Subsystem: ethernet phy library, the rest · Maintainers: Andrew Lunn, Heiner Kallweit, Linus Torvalds

Revision v1 of 9 in this series.

Revisions (9)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]
  6. v6 [diff vs current]
  7. v7 [diff vs current]
  8. v8 [diff vs current]
  9. v9 [diff vs current]
Allow the phy driver to build the MACSEC support even if
CONFIG_MACSEC=N.

Signed-off-by: Radu Pirea (NXP OSS) <redacted>
---
 include/linux/phy.h | 2 --
 1 file changed, 2 deletions(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 3c1ceedd1b77..813a99449f77 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -753,10 +753,8 @@ struct phy_device {
 	void (*phy_link_change)(struct phy_device *phydev, bool up);
 	void (*adjust_link)(struct net_device *dev);
 
-#if IS_ENABLED(CONFIG_MACSEC)
 	/* MACsec management functions */
 	const struct macsec_ops *macsec_ops;
-#endif
 };
 
 /* Generic phy_device::dev_flags */
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help