diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 985f69c3e1e3..442e5d371ac6 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -1399,7 +1399,7 @@ struct root_device { | |||
1399 | struct module *owner; | 1399 | struct module *owner; |
1400 | }; | 1400 | }; |
1401 | 1401 | ||
1402 | inline struct root_device *to_root_device(struct device *d) | 1402 | static inline struct root_device *to_root_device(struct device *d) |
1403 | { | 1403 | { |
1404 | return container_of(d, struct root_device, dev); | 1404 | return container_of(d, struct root_device, dev); |
1405 | } | 1405 | } |