[2.6 patch] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We can't export a static struct to modules.


Signed-off-by: Adrian Bunk <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux