aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-10-04 16:28:18 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:46 -0400
commitbadff03df7a005d13ea2ae8ddc2f5ec0cfc049e8 (patch)
tree11f661e29c5991a9baf33382749ce9f8347da5cf /include
parent70edb185dbaa8a9ec0d6f3e50bb5698a4e85ded6 (diff)
libata-core: Expose gtm methods for driver use
Talk to the dark side our driver has to, yes. Much misleading is the data. Store it in a structure we do so that it may be parsed. Signed-off-by: Alan Cox <alan@redhat.com> -- Whats small, old and shouts phrases out of order across mountains ? Yodla.. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 84dfc23b9d31..751aabc21a3e 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -929,6 +929,8 @@ enum {
929/* libata-acpi.c */ 929/* libata-acpi.c */
930#ifdef CONFIG_ATA_ACPI 930#ifdef CONFIG_ATA_ACPI
931extern int ata_acpi_cbl_80wire(struct ata_port *ap); 931extern int ata_acpi_cbl_80wire(struct ata_port *ap);
932int ata_acpi_stm(const struct ata_port *ap, struct ata_acpi_gtm *stm);
933int ata_acpi_gtm(const struct ata_port *ap, struct ata_acpi_gtm *stm);
932#else 934#else
933static inline int ata_acpi_cbl_80wire(struct ata_port *ap) { return 0; } 935static inline int ata_acpi_cbl_80wire(struct ata_port *ap) { return 0; }
934#endif 936#endif