Revert "net: enetc: add missing static descriptor and inline keyword"

This reverts commit 28fbd87bfe.
This commit is contained in:
Ksawlii 2024-11-24 00:22:54 +01:00
parent b53604d807
commit 567fb8d401

View file

@ -48,8 +48,7 @@ static inline int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum)
static inline int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, static inline int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum,
u16 value) u16 value)
{ return -EINVAL; } { return -EINVAL; }
static inline struct enetc_hw *enetc_hw_alloc(struct device *dev, struct enetc_hw *enetc_hw_alloc(struct device *dev, void __iomem *port_regs)
void __iomem *port_regs)
{ return ERR_PTR(-EINVAL); } { return ERR_PTR(-EINVAL); }
#endif #endif