Commit c21fbe29 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: dsa: mv88e6xxx: Add missing static to stub functions

Stub functions in header files need to be static, or we can have
multiple definitions errors.
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Fixes: 6335e9f2 ("net: dsa: mv88e6xxx: mv88e6390X SERDES support")
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb3ce90b
...@@ -114,13 +114,13 @@ static inline int mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip, ...@@ -114,13 +114,13 @@ static inline int mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip,
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
int mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip, int src_dev, static int mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip, int src_dev,
int src_port, u16 data) int src_port, u16 data)
{ {
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
int mv88e6xxx_g2_misc_4_bit_port(struct mv88e6xxx_chip *chip) static int mv88e6xxx_g2_misc_4_bit_port(struct mv88e6xxx_chip *chip)
{ {
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment