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>
This commit is contained in:
Greg Kroah-Hartman
2007-11-02 16:19:59 -07:00
parent 9651d350ab
commit 99e0d2fc6c
3 changed files with 8 additions and 7 deletions

View File

@ -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