Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93058424 authored by Josh Triplett's avatar Josh Triplett Committed by Greg Kroah-Hartman
Browse files

drivers/base/core.c: Mark to_root_device static



Nothing outside of drivers/base/core.c references this function.

Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0246c4fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1399,7 +1399,7 @@ struct root_device {
	struct module *owner;
	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);
	return container_of(d, struct root_device, dev);
}
}