summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2002-04-09 21:14:34 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-30 23:25:12 +0200
commitff2ee8cf30199bb625706a43d9cc3bd1ff5ebe42 (patch)
treec81ffd4887ed7c856596b563e9371ab809383a53 /drivers/base
parentkobject: fix link error when CONFIG_HOTPLUG is disabled (diff)
downloadlinux-ff2ee8cf30199bb625706a43d9cc3bd1ff5ebe42.tar.xz
linux-ff2ee8cf30199bb625706a43d9cc3bd1ff5ebe42.zip
kobject: put kobject_actions in kobject.h
This prevents the extern declaration in the driver core. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 3599ab2506d2..b9bb3995db84 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -24,8 +24,6 @@
#include "base.h"
#include "power/power.h"
-extern const char *kobject_actions[];
-
int (*platform_notify)(struct device * dev) = NULL;
int (*platform_notify_remove)(struct device * dev) = NULL;