提交 93058424 编写于 作者: J Josh Triplett 提交者: Greg Kroah-Hartman

drivers/base/core.c: Mark to_root_device static

Nothing outside of drivers/base/core.c references this function.
Signed-off-by: NJosh Triplett <josh@joshtriplett.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0246c4fa
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册