summaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-15 21:34:29 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 23:22:45 +0100
commit2f40fb72a2121da44c35f2588ee9abce1dffa2a9 (patch)
tree8455fb6940dfbca49519e0978fdccb67dd02a073 /drivers/base/memory.c
parent[PATCH] IPMI oops fix (diff)
downloadlinux-2f40fb72a2121da44c35f2588ee9abce1dffa2a9.tar.xz
linux-2f40fb72a2121da44c35f2588ee9abce1dffa2a9.zip
[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>
Diffstat (limited to 'drivers/base/memory.c')
-rw-r--r--drivers/base/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/memory.c b/drivers/base/memory.c
index b7ddd651d664..bc3ca6a656b2 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)
{