ACPI: change registration interface to follow driver model

ACPI device/driver registration Interfaces are modified
to follow Linux driver model.

Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Patrick Mochel
2006-12-07 20:56:31 +08:00
committed by Len Brown
parent 5d9464a469
commit 1890a97ab3
2 changed files with 30 additions and 148 deletions
+1 -2
View File
@@ -133,13 +133,12 @@ struct acpi_device_ops {
};
struct acpi_driver {
struct list_head node;
char name[80];
char class[80];
atomic_t references;
char *ids; /* Supported Hardware IDs */
struct acpi_device_ops ops;
struct device_driver drv;
struct module *owner;
};
/*