Revert "net: enetc: add missing static descriptor and inline keyword"
This reverts commit 28fbd87bfe
.
This commit is contained in:
parent
b53604d807
commit
567fb8d401
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue