projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7767e12
)
[PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class
author
Adrian Bunk
<bunk@stusta.de>
Thu, 15 Dec 2005 20:34:29 +0000
(12:34 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 15 Dec 2005 22:22:45 +0000
(14:22 -0800)
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>
drivers/base/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/memory.c
b/drivers/base/memory.c
index b7ddd651d664ecf76da5f620bd06b0e6d01ba837..bc3ca6a656b27c725ea2fbff9ce94879b6d82e84 100644
(file)
--- 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)
{