From: Adrian Bunk Date: Thu, 15 Dec 2005 20:34:29 +0000 (-0800) Subject: [PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class X-Git-Tag: v2.6.15-rc6~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f40fb72a2121da44c35f2588ee9abce1dffa2a9;p=linux-2.6 [PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class We can't export a static struct to modules. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/base/memory.c b/drivers/base/memory.c index b7ddd651d6..bc3ca6a656 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -28,7 +28,6 @@ static struct sysdev_class memory_sysdev_class = { set_kset_name(MEMORY_CLASS_NAME), }; -EXPORT_SYMBOL(memory_sysdev_class); static char *memory_hotplug_name(struct kset *kset, struct kobject *kobj) {