Skip to content

Commit

Permalink
drivers/base/core.c: Mark to_root_device static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joshtriplett authored and gregkh committed Nov 27, 2012
1 parent 0246c4f commit 9305842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9305842

Please sign in to comment.