Re: [PATCH] net: dsa: mv88e6xxx: Add missing static to stub functions

From: David Miller
Date: Tue May 30 2017 - 14:08:22 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 29 May 2017 14:56:01 +0200

> '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@xxxxxxxx>

Applied.