net: dsa: mv88e6xxx: Add missing static to stub functions
authorArnd Bergmann <arnd@arndb.de>
Mon, 29 May 2017 12:56:01 +0000 (14:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 18:07:53 +0000 (14:07 -0400)
commit59b2c3140f329e5817197f84860f3fa61a742fdf
tree9592377e1e5d75bd7a9885b9d44deba561c53558
parent512c7840cd692fdac0333684249753ebf3c819f9
net: dsa: mv88e6xxx: Add missing static to stub functions

'static' was not enough, the helpers must be 'static inline'

net/dsa/mv88e6xxx/global2.h:123:12: error: 'mv88e6xxx_g2_misc_4_bit_port' defined but not used [-Werror=unused-function]
net/dsa/mv88e6xxx/global2.h:117:12: error: 'mv88e6xxx_g2_pvt_write' defined but not used [-Werror=unused-function]

Fixes: c21fbe29f858 ("net: dsa: mv88e6xxx: Add missing static to stub functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global2.h