projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0246c4f
)
drivers/base/core.c: Mark to_root_device static
author
Josh Triplett
<josh@joshtriplett.org>
Mon, 19 Nov 2012 05:27:55 +0000
(21:27 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:25:36 +0000
(16:25 -0800)
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>
drivers/base/core.c
patch
|
blob
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index 985f69c3e1e3dbd9be0a849c428ef0c2a88abad1..442e5d371ac69529f557c8fc44ee4c9ed3023e28 100644
(file)
--- 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);
}