* [2.6 patch] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class
@ 2005-12-13 14:08 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-12-13 14:08 UTC (permalink / raw)
To: Matt Tolentino, Dave Hansen, Linus Torvalds, Andrew Morton; +Cc: linux-kernel
We can't export a static struct to modules.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.15-rc5-mm2-full/drivers/base/memory.c.old 2005-12-13 15:00:17.000000000 +0100
+++ linux-2.6.15-rc5-mm2-full/drivers/base/memory.c 2005-12-13 15:00:28.000000000 +0100
@@ -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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-13 14:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13 14:08 [2.6 patch] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox