projects/linux·commit 2f40fb72

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

2f40fb72 · Adrian Bunk <[email protected]> · 2005-12-15 12:34:29 -08:00

We can't export a static struct to modules.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
2f40fb72a2121da44c35f2588ee9abce1dffa2a9
Parents
7767e126

Changes

1 files changed · +0 −1

FileStatusAddDelContent
drivers/base/memory.cmodified+0−1View file

drivers/base/memory.c

View file
diff --git a/drivers/base/memory.c b/drivers/base/memory.c
index b7ddd65..bc3ca6a 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)
{