aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/base/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 2e954d07175a..4d22a1d10a1c 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -467,7 +467,7 @@ static void remove_bind_files(struct device_driver *drv)
467 driver_remove_file(drv, &driver_attr_unbind); 467 driver_remove_file(drv, &driver_attr_unbind);
468} 468}
469#else 469#else
470static inline void add_bind_files(struct device_driver *drv) {} 470static inline int add_bind_files(struct device_driver *drv) { return 0; }
471static inline void remove_bind_files(struct device_driver *drv) {} 471static inline void remove_bind_files(struct device_driver *drv) {}
472#endif 472#endif
473 473