Commit 2f40fb72 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class

We can't export a static struct to modules.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7767e126
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
static struct sysdev_class memory_sysdev_class = { static struct sysdev_class memory_sysdev_class = {
set_kset_name(MEMORY_CLASS_NAME), set_kset_name(MEMORY_CLASS_NAME),
}; };
EXPORT_SYMBOL(memory_sysdev_class);
static char *memory_hotplug_name(struct kset *kset, struct kobject *kobj) static char *memory_hotplug_name(struct kset *kset, struct kobject *kobj)
{ {
......
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