net: sfp: fix sfp_bus_add_upstream() warning
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 12 Nov 2019 11:35:00 +0000 (11:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 19:13:41 +0000 (11:13 -0800)
commit6c0867022352027409f5a9fee1d3c6923f9e083e
tree86be01193c0a5270b1225b59eaf146ab1b1a4d4f
parent8b8371b5bad3aea1e1e4b9682066f07afe2efdea
net: sfp: fix sfp_bus_add_upstream() warning

When building with SFP disabled, the stub for sfp_bus_add_upstream()
missed "inline".  Add it.

Fixes: 727b3668b730 ("net: sfp: rework upstream interface")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sfp.h