diff options
author | Patrick Mochel <mochel@linux.intel.com> | 2006-12-07 13:56:31 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-16 05:38:34 +0100 |
commit | 1890a97ab3f66d1e99768439f8067608b9b97fe3 (patch) | |
tree | ae9cc1f49e51e1fad5305caceac72b7f1dc584af /include/acpi | |
parent | ACPI: add ACPI bus_type for driver model (diff) | |
download | linux-1890a97ab3f66d1e99768439f8067608b9b97fe3.tar.xz linux-1890a97ab3f66d1e99768439f8067608b9b97fe3.zip |
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>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index d7dd52615456..807acf69a704 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -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; }; /* |