]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit628847a872b00331da74a74748ecc2d97304c66e
tree9592377e1e5d75bd7a9885b9d44deba561c53558
parent9770974c7215b20420d57cb062376c8db355d0a0
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: da9c7319b9b3 ("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