libata-acpi: add new hooks ata_acpi_dissociate() and ata_acpi_on_disable()
authorTejun Heo <htejun@gmail.com>
Sat, 15 Dec 2007 06:05:01 +0000 (15:05 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 18 Dec 2007 01:33:12 +0000 (20:33 -0500)
commit562f0c2d771ee7be6b37fe015f94a929f8056120
tree17d1616b39894564f70255bd68eec5c19ebf0473
parent7f9ad9b8b96855f529f4fe9db0bf32cd3f14c01b
libata-acpi: add new hooks ata_acpi_dissociate() and ata_acpi_on_disable()

Add two hooks - ata_acpi_dissociate() which is called during driver
detach after the whole host is shutdown and ata_acpi_on_disable()
which is called when a device is disabled.

Signed-off-by: Tejun heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-acpi.c
drivers/ata/libata-core.c
drivers/ata/libata.h