diff options
author | Lin Ming <ming.m.lin@intel.com> | 2011-12-04 20:20:27 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-01-08 19:14:58 -0500 |
commit | 5ef41082912bdfcb33fa53b8dba2ad17dea2ef90 (patch) | |
tree | b63aff744994b75af6c3e5e5e70e01312027992e /drivers/ata/libata.h | |
parent | 54f57588463db1105f4a93b2902a6f95cb8f796a (diff) |
ata: add ata port system PM callbacks
Change ata_host_request_pm to ata_port_request_pm which performs
port suspend/resume.
Add ata port type driver which implements port PM callbacks.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 773de97988a2..814486d35c44 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -58,6 +58,7 @@ extern int atapi_passthru16; | |||
58 | extern int libata_fua; | 58 | extern int libata_fua; |
59 | extern int libata_noacpi; | 59 | extern int libata_noacpi; |
60 | extern int libata_allow_tpm; | 60 | extern int libata_allow_tpm; |
61 | extern struct device_type ata_port_type; | ||
61 | extern struct ata_link *ata_dev_phys_link(struct ata_device *dev); | 62 | extern struct ata_link *ata_dev_phys_link(struct ata_device *dev); |
62 | extern void ata_force_cbl(struct ata_port *ap); | 63 | extern void ata_force_cbl(struct ata_port *ap); |
63 | extern u64 ata_tf_to_lba(const struct ata_taskfile *tf); | 64 | extern u64 ata_tf_to_lba(const struct ata_taskfile *tf); |