Skip to contentSkip to conversation

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

PATCH New Adrian Bunk 1 participant 1 message Dec 13, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

We can't export a static struct to modules.

drivers/base/memory.c renamed from drivers/base/memory.c.old +0 -1
@@ -28,7 +28,6 @@
 static struct sysdev_class memory_sysdev_class = {
 	set_kset_name(MEMORY_CLASS_NAME),
 };
-EXPORT_SYMBOL(memory_sysdev_class);
 
 static const char *memory_uevent_name(struct kset *kset, struct kobject *kobj)
 {