aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-12-07 20:56:31 +0800
committerLen Brown <len.brown@intel.com>2006-12-15 23:38:34 -0500
commit1890a97ab3f66d1e99768439f8067608b9b97fe3 (patch)
treeae9cc1f49e51e1fad5305caceac72b7f1dc584af /include/acpi/acpi_bus.h
parentACPI: add ACPI bus_type for driver model (diff)
downloadlinux-dev-1890a97ab3f66d1e99768439f8067608b9b97fe3.tar.xz
linux-dev-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/acpi_bus.h')
-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 {
};
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;
};
/*