diff options
Diffstat (limited to 'drivers/ata/libata-acpi.c')
-rw-r--r-- | drivers/ata/libata-acpi.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c index 8ae36ad029c5..9e5fc5d75b2e 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c | |||
@@ -188,6 +188,21 @@ void ata_acpi_associate(struct ata_host *host) | |||
188 | } | 188 | } |
189 | 189 | ||
190 | /** | 190 | /** |
191 | * ata_acpi_dissociate - dissociate ATA host from ACPI objects | ||
192 | * @host: target ATA host | ||
193 | * | ||
194 | * This function is called during driver detach after the whole host | ||
195 | * is shut down. | ||
196 | * | ||
197 | * LOCKING: | ||
198 | * EH context. | ||
199 | */ | ||
200 | void ata_acpi_dissociate(struct ata_host *host) | ||
201 | { | ||
202 | /* nada */ | ||
203 | } | ||
204 | |||
205 | /** | ||
191 | * ata_acpi_gtm - execute _GTM | 206 | * ata_acpi_gtm - execute _GTM |
192 | * @ap: target ATA port | 207 | * @ap: target ATA port |
193 | * @gtm: out parameter for _GTM result | 208 | * @gtm: out parameter for _GTM result |
@@ -716,3 +731,16 @@ int ata_acpi_on_devcfg(struct ata_device *dev) | |||
716 | dev->flags |= ATA_DFLAG_ACPI_FAILED; | 731 | dev->flags |= ATA_DFLAG_ACPI_FAILED; |
717 | return rc; | 732 | return rc; |
718 | } | 733 | } |
734 | |||
735 | /** | ||
736 | * ata_acpi_on_disable - ATA ACPI hook called when a device is disabled | ||
737 | * @dev: target ATA device | ||
738 | * | ||
739 | * This function is called when @dev is about to be disabled. | ||
740 | * | ||
741 | * LOCKING: | ||
742 | * EH context. | ||
743 | */ | ||
744 | void ata_acpi_on_disable(struct ata_device *dev) | ||
745 | { | ||
746 | } | ||