aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-12-07 07:56:31 -0500
committerLen Brown <len.brown@intel.com>2006-12-15 23:38:34 -0500
commit1890a97ab3f66d1e99768439f8067608b9b97fe3 (patch)
treeae9cc1f49e51e1fad5305caceac72b7f1dc584af /include/acpi
parent5d9464a46918ced087c351a10f38cee95725f85b (diff)
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.h3
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 {
133}; 133};
134 134
135struct acpi_driver { 135struct acpi_driver {
136 struct list_head node;
137 char name[80]; 136 char name[80];
138 char class[80]; 137 char class[80];
139 atomic_t references;
140 char *ids; /* Supported Hardware IDs */ 138 char *ids; /* Supported Hardware IDs */
141 struct acpi_device_ops ops; 139 struct acpi_device_ops ops;
142 struct device_driver drv; 140 struct device_driver drv;
141 struct module *owner;
143}; 142};
144 143
145/* 144/*