diff --git a/include/linux/sfp.h b/include/linux/sfp.h index c8464de7cff55e39ba7b5bd4c31cf97abb786dcc..3b35efd85bb1b6fa1b34e8c1558de1188c5e5916 100644 --- a/include/linux/sfp.h +++ b/include/linux/sfp.h @@ -563,8 +563,8 @@ static inline struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode) return NULL; } -static int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, - const struct sfp_upstream_ops *ops) +static inline int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, + const struct sfp_upstream_ops *ops) { return 0; }