Skip to content

Commit

Permalink
[PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysde…
Browse files Browse the repository at this point in the history
…v_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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Dec 15, 2005
1 parent 7767e12 commit 2f40fb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/base/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2f40fb7

Please sign in to comment.