Commit 6356b319 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] driver core: fix compiler warning if CONFIG_HOTPLUG is not defined

fixes bug #26 <http://bugme.osdl.org/show_bug.cgi?id=26>
parent d297c15b
......@@ -34,7 +34,7 @@ static inline int dev_hotplug(struct device *dev, const char *action)
{
return 0;
}
static int class_hotplug(struct device *dev, const char *action)
static inline int class_hotplug(struct device *dev, const char *action)
{
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment