aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-05-05 10:50:38 -0400
committerJeff Garzik <jeff@garzik.org>2007-05-11 18:12:42 -0400
commit3a32a8e96694a243ec7e7feb6d76dfc4b1fe90c1 (patch)
treec7e326d85996b196770e5bef4d7fd005380b09a0 /drivers/ata/libata.h
parente92351bb53c0849fabfa80be53cbf3b0aa166e54 (diff)
libata-acpi: clean up parameters and misc stuff
This patch cleans up libata-acpi such that it looks similar to other libata files. This patch doesn't introuce any behavior changes. * make libata-acpi functions take ata_device instead of ata_port + device index * s/atadev/dev/ * de-indent local variable declarations Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 49ec182e505..8b71b73a199 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -99,13 +99,13 @@ extern struct ata_port *ata_port_alloc(struct ata_host *host);
99/* libata-acpi.c */ 99/* libata-acpi.c */
100#ifdef CONFIG_ATA_ACPI 100#ifdef CONFIG_ATA_ACPI
101extern int ata_acpi_exec_tfs(struct ata_port *ap); 101extern int ata_acpi_exec_tfs(struct ata_port *ap);
102extern int ata_acpi_push_id(struct ata_port *ap, unsigned int ix); 102extern int ata_acpi_push_id(struct ata_device *dev);
103#else 103#else
104static inline int ata_acpi_exec_tfs(struct ata_port *ap) 104static inline int ata_acpi_exec_tfs(struct ata_port *ap)
105{ 105{
106 return 0; 106 return 0;
107} 107}
108static inline int ata_acpi_push_id(struct ata_port *ap, unsigned int ix) 108static inline int ata_acpi_push_id(struct ata_device *dev)
109{ 109{
110 return 0; 110 return 0;
111} 111}