diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-03-27 13:01:32 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-29 19:30:28 -0500 |
commit | 17efc5f7237995295cbe008828788d187fea3c88 (patch) | |
tree | 161aff3167407186babfec501076a1c98716a314 | |
parent | 5444a6f405618706eddbe1605ef8533b1b655764 (diff) |
[PATCH] libata: Fix interesting use of "extern" and also some bracketing
Signed-off-by: Alan Cox <alan@redhat.com>
Last of the set, just clean up some oddments. Assuming the whole set is
now ok then the remaining differences are the setup of PIO_0 at reset
and the ->data_xfer method.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/scsi/libata-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index b1ddf40533b..ac19505f7f1 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -2160,9 +2160,9 @@ static int sata_phy_resume(struct ata_port *ap) | |||
2160 | * so makes reset sequence different from the original | 2160 | * so makes reset sequence different from the original |
2161 | * ->phy_reset implementation and Jeff nervous. :-P | 2161 | * ->phy_reset implementation and Jeff nervous. :-P |
2162 | */ | 2162 | */ |
2163 | extern void ata_std_probeinit(struct ata_port *ap) | 2163 | void ata_std_probeinit(struct ata_port *ap) |
2164 | { | 2164 | { |
2165 | if (ap->flags & ATA_FLAG_SATA && ap->ops->scr_read) { | 2165 | if ((ap->flags & ATA_FLAG_SATA) && ap->ops->scr_read) { |
2166 | sata_phy_resume(ap); | 2166 | sata_phy_resume(ap); |
2167 | if (sata_dev_present(ap)) | 2167 | if (sata_dev_present(ap)) |
2168 | ata_busy_sleep(ap, ATA_TMOUT_BOOT_QUICK, ATA_TMOUT_BOOT); | 2168 | ata_busy_sleep(ap, ATA_TMOUT_BOOT_QUICK, ATA_TMOUT_BOOT); |