diff options
author | Tejun Heo <htejun@gmail.com> | 2007-05-05 16:50:38 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-12 00:12:42 +0200 |
commit | 3a32a8e96694a243ec7e7feb6d76dfc4b1fe90c1 (patch) | |
tree | c7e326d85996b196770e5bef4d7fd005380b09a0 /drivers/ata/libata.h | |
parent | libata-acpi: s/CONFIG_SATA_ACPI/CONFIG_ATA_ACPI/ (diff) | |
download | linux-3a32a8e96694a243ec7e7feb6d76dfc4b1fe90c1.tar.xz linux-3a32a8e96694a243ec7e7feb6d76dfc4b1fe90c1.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 49ec182e5057..8b71b73a199c 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); /* libata-acpi.c */ #ifdef CONFIG_ATA_ACPI extern int ata_acpi_exec_tfs(struct ata_port *ap); -extern int ata_acpi_push_id(struct ata_port *ap, unsigned int ix); +extern int ata_acpi_push_id(struct ata_device *dev); #else static inline int ata_acpi_exec_tfs(struct ata_port *ap) { return 0; } -static inline int ata_acpi_push_id(struct ata_port *ap, unsigned int ix) +static inline int ata_acpi_push_id(struct ata_device *dev) { return 0; } |