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