Messages in this thread Patch in this message | | | From | "Radu Pirea (NXP OSS)" <> | Subject | [RFC net-next v1 2/5] net: phy: remove MACSEC guard | Date | Fri, 11 Aug 2023 18:32:46 +0300 |
| |
Allow the phy driver to build the MACSEC support even if CONFIG_MACSEC=N.
Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com> --- 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
| |