diff options
author | 2007-11-02 16:19:59 -0700 | |
---|---|---|
committer | 2008-01-24 20:40:23 -0800 | |
commit | 99e0d2fc6c60ca44f56203eeda9fc0e07b508f06 (patch) | |
tree | adb8b295ef827d15a01595c451a1891e28801fd4 /include/acpi/acpi_bus.h | |
parent | kset: convert edd to use kset_create (diff) | |
download | linux-99e0d2fc6c60ca44f56203eeda9fc0e07b508f06.tar.gz linux-99e0d2fc6c60ca44f56203eeda9fc0e07b508f06.tar.bz2 linux-99e0d2fc6c60ca44f56203eeda9fc0e07b508f06.zip |
kobject: convert /sys/firmware/acpi/ to use kobject_create
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 7b74b60a68a4..fb7171b1bd22 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -319,7 +319,7 @@ struct acpi_bus_event { u32 data; }; -extern struct kset acpi_subsys; +extern struct kobject *acpi_kobj; extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); /* * External Functions |