linux/drivers/net/dsa/mv88e6xxx
Florian Fainelli 54a88e4cfc net: dsa: mv88e6xxx: Make SMI c22/c45 read/write functions static
The SMI clause 22 & 45 read/write operations are local to the global2.c file,
so make them static. This eliminates the following warning:

drivers/net/dsa/mv88e6xxx/global2.c:571:5: warning: no previous prototype for 'mv88e6xxx_g2_smi_phy_read_c45' [-Wmissing-prototypes]
 int mv88e6xxx_g2_smi_phy_read_c45(struct mv88e6xxx_chip *chip, int addr,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mv88e6xxx/global2.c:602:5: warning: no previous prototype for 'mv88e6xxx_g2_smi_phy_read_c22' [-Wmissing-prototypes]
 int mv88e6xxx_g2_smi_phy_read_c22(struct mv88e6xxx_chip *chip, int addr,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mv88e6xxx/global2.c:635:5: warning: no previous prototype for 'mv88e6xxx_g2_smi_phy_write_c45' [-Wmissing-prototypes]
 int mv88e6xxx_g2_smi_phy_write_c45(struct mv88e6xxx_chip *chip, int addr,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mv88e6xxx/global2.c:664:5: warning: no previous prototype for 'mv88e6xxx_g2_smi_phy_write_c22' [-Wmissing-prototypes]
 int mv88e6xxx_g2_smi_phy_write_c22(struct mv88e6xxx_chip *chip, int addr,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-08 08:31:09 -07:00
..
chip.c net: dsa: mv88e6xxx: add cross-chip bridging 2017-04-01 12:22:57 -07:00
global1_atu.c net: dsa: mv88e6xxx: debug ATU Age Time 2017-03-30 15:35:23 -07:00
global1.c net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
global1.h net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
global2.c net: dsa: mv88e6xxx: Make SMI c22/c45 read/write functions static 2017-04-08 08:31:09 -07:00
global2.h net: dsa: mv88e6xxx: program the PVT with all ones 2017-04-01 12:22:57 -07:00
Kconfig net: dsa: mv88e6xxx: Select IRQ_DOMAIN 2016-11-18 13:54:22 -05:00
Makefile net: dsa: mv88e6xxx: move ATU ageing time setter 2017-03-12 23:54:05 -07:00
mv88e6xxx.h net: dsa: mv88e6xxx: program the PVT with all ones 2017-04-01 12:22:57 -07:00
port.c net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
port.h net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00