ChangeSet 1.842.46.7, 2002/11/25 10:53:08-08:00, greg@kroah.com

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

fixes bug #26 <http://bugme.osdl.org/show_bug.cgi?id=26>


diff -Nru a/drivers/base/base.h b/drivers/base/base.h
--- a/drivers/base/base.h	Wed Nov 27 12:52:26 2002
+++ b/drivers/base/base.h	Wed Nov 27 12:52:26 2002
@@ -34,7 +34,7 @@
 {
 	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;
 }
