Browse Source

[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 <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 19 years ago
parent
commit
2f40fb72a2
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/base/memory.c

+ 0 - 1
drivers/base/memory.c

@@ -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)
 {
 {