Commit d977f5ed authored by Patrick Mochel's avatar Patrick Mochel

acpi: use decl_subsys() macro.

parent 64e928e3
......@@ -676,9 +676,7 @@ acpi_bus_init (void)
return_VALUE(-ENODEV);
}
struct subsystem acpi_subsys = {
.kobj = { .name = "acpi" },
};
decl_subsys(acpi,NULL);
static int __init acpi_init (void)
{
......
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