Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -114,13 +114,13 @@ static inline int mv88e6xxx_g2_set_eeprom16(struct mv88e6xxx_chip *chip,
	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)
{
	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;
}