commit | c4168bff32e218b8400cb48b48adb9b7f7bb31b8 | [log] [tgz] |
---|---|---|
author | Li Shaohua <shaohua.li@intel.com> | Thu Dec 07 20:56:41 2006 +0800 |
committer | Len Brown <len.brown@intel.com> | Fri Dec 15 23:38:34 2006 -0500 |
tree | 48605aa258cf7acf108cb7c1a3419c4b7dc0e415 | |
parent | f883d9db008deb20d4969c26475100cec2b7f6f8 [diff] |
ACPI: add acpi_bus_ops in acpi_device Add acpi_bus_ops in acpi_device to support acpi hot plug. NOTE: Two methods .add and .start in acpi_driver.ops are called separately to probe ACPI devices, while only .probe method is called in driver model. As executing .add and .start separately is critical for ACPI device hot plug, we use acpi_bus_ops to distinguish different code path. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>