diff options
author | Josh Triplett <josh@joshtriplett.org> | 2012-11-19 05:27:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-27 00:25:36 (GMT) |
commit | 93058424af5c555f28175d41384d799f34b4f07e (patch) | |
tree | 85417e42a5fec27911b47529d060e87edc13cd47 /drivers/base | |
parent | 0246c4fafccd6c3580bb33e8d30a2c7927e09f02 (diff) | |
download | linux-93058424af5c555f28175d41384d799f34b4f07e.tar.xz |
drivers/base/core.c: Mark to_root_device static
Nothing outside of drivers/base/core.c references this function.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 985f69c..442e5d3 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1399,7 +1399,7 @@ struct root_device { struct module *owner; }; -inline struct root_device *to_root_device(struct device *d) +static inline struct root_device *to_root_device(struct device *d) { return container_of(d, struct root_device, dev); } |