Messages in this thread Patch in this message | | | Date | Tue, 13 Dec 2005 15:08:26 +0100 | From | Adrian Bunk <> | Subject | [2.6 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>
--- 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) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |