ACPI: add device_driver and hepler functions
authorPatrick Mochel <mochel@linux.intel.com>
Thu, 7 Dec 2006 12:56:23 +0000 (20:56 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 16 Dec 2006 04:38:34 +0000 (23:38 -0500)
commitd43ec68e9837dfa6618ab473622683fdbf6e68a9
tree4de061cb0d21bea939ba3ff549785dd4b0dc6f48
parent1d268b0a0f5407138caf0dec9559d68e657a3a74
ACPI: add device_driver and hepler functions

Add device_driver into acpi_driver for driver model.
Add helper functions 'to_acpi_device' and 'to_acpi_driver'
to get structure acpi_device/acpi_driver by device/device_driver.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c
include/acpi/acpi_bus.h