Commit b930a21e authored by Patrick Mochel's avatar Patrick Mochel

[driver model] Add exports for sys devices.

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.
parent da141de2
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
struct sysdev_class cpu_sysdev_class = { struct sysdev_class cpu_sysdev_class = {
set_kset_name("cpu"), set_kset_name("cpu"),
}; };
EXPORT_SYMBOL(cpu_sysdev_class);
/* /*
......
...@@ -158,6 +158,10 @@ void sysdev_driver_unregister(struct sysdev_class * cls, ...@@ -158,6 +158,10 @@ void sysdev_driver_unregister(struct sysdev_class * cls,
up_write(&system_subsys.rwsem); 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 * sys_device_register - add a system device to the tree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment