]> git.hungrycats.org Git - linux/commitdiff
[driver model] Add exports for sys devices.
authorPatrick Mochel <mochel@osdl.org>
Fri, 5 Sep 2003 08:28:49 +0000 (01:28 -0700)
committerPatrick Mochel <mochel@osdl.org>
Fri, 5 Sep 2003 08:28:49 +0000 (01:28 -0700)
From Dominik Brodowski:

A few missing exports -- even though the cpu_sysdev_class isn't strictly
needed now, I need it for a few ACPI-related patches I'll send out in a
minute.

drivers/base/cpu.c
drivers/base/sys.c

index 4456bceabeafe80451d8c17f9a533802ffdf800f..8aa16acfe36bc15194a7a5bb31092faee1684df2 100644 (file)
@@ -12,6 +12,7 @@
 struct sysdev_class cpu_sysdev_class = {
        set_kset_name("cpu"),
 };
+EXPORT_SYMBOL(cpu_sysdev_class);
 
 
 /*
index 546b340715e84ef13fedf6525f6bc0d3074f46f1..5aa23916135b2b9b8892ce6536846546175d9d46 100644 (file)
@@ -158,6 +158,10 @@ void sysdev_driver_unregister(struct sysdev_class * cls,
        up_write(&system_subsys.rwsem);
 }
 
+EXPORT_SYMBOL(sysdev_driver_register);
+EXPORT_SYMBOL(sysdev_driver_unregister);
+
+
 
 /**
  *     sys_device_register - add a system device to the tree