diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 09:55:48 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 09:55:48 -0400 |
commit | db1b39d8b860e3716620c225bc86e0ec41764e34 (patch) | |
tree | 8739074db733ef767400ea92cfbfed9352ddb92d /drivers/ata/libata.h | |
parent | a6bc432e296dfa1f05d4b586ca5ca3085a2d42d7 (diff) | |
parent | 4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 5e2466658420..ba17fc5f2e99 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -98,17 +98,15 @@ extern struct ata_port *ata_port_alloc(struct ata_host *host); | |||
98 | 98 | ||
99 | /* libata-acpi.c */ | 99 | /* libata-acpi.c */ |
100 | #ifdef CONFIG_ATA_ACPI | 100 | #ifdef CONFIG_ATA_ACPI |
101 | extern int ata_acpi_exec_tfs(struct ata_port *ap); | 101 | extern void ata_acpi_associate(struct ata_host *host); |
102 | extern int ata_acpi_push_id(struct ata_device *dev); | 102 | extern int ata_acpi_on_suspend(struct ata_port *ap); |
103 | extern void ata_acpi_on_resume(struct ata_port *ap); | ||
104 | extern int ata_acpi_on_devcfg(struct ata_device *adev); | ||
103 | #else | 105 | #else |
104 | static inline int ata_acpi_exec_tfs(struct ata_port *ap) | 106 | static inline void ata_acpi_associate(struct ata_host *host) { } |
105 | { | 107 | static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; } |
106 | return 0; | 108 | static inline void ata_acpi_on_resume(struct ata_port *ap) { } |
107 | } | 109 | static inline int ata_acpi_on_devcfg(struct ata_device *adev) { return 0; } |
108 | static inline int ata_acpi_push_id(struct ata_device *dev) | ||
109 | { | ||
110 | return 0; | ||
111 | } | ||
112 | #endif | 110 | #endif |
113 | 111 | ||
114 | /* libata-scsi.c */ | 112 | /* libata-scsi.c */ |