]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI: add acpi_bus_removal_type in acpi_device
authorLi Shaohua <shaohua.li@intel.com>
Thu, 7 Dec 2006 12:56:46 +0000 (20:56 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 16 Dec 2006 04:38:35 +0000 (23:38 -0500)
commit96333578b023957537c3e98b50af7f3b7e08e411
tree005686677555152dfe51c0edd5273a665c9d5aca
parentc4168bff32e218b8400cb48b48adb9b7f7bb31b8
ACPI: add acpi_bus_removal_type in acpi_device

Add removal_type in structure acpi_device for hot removal.

ACPI_BUS_REMOVAL_EJECT is used for ACPI device hot removal.
Only one parameter is allowed in .remove method due to driver model.
So removal_type is added to indicate different removal type.

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