diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2010-01-19 04:44:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-19 04:44:41 -0500 |
commit | e085b3cae85af47eb0a3eda3186bd898310fb322 (patch) | |
tree | 7f7fea27f1398558a63e58b2f52347ae93383bac /drivers/ide/amd74xx.c | |
parent | 3fccaa192b9501e79a57e02e62b6bf420d2b461e (diff) |
ide: change ->set_pio_mode method parameters
Change ->set_pio_mode method parameters to match ->set_piomode method
used in struct ata_port_operations.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/amd74xx.c')
-rw-r--r-- | drivers/ide/amd74xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/amd74xx.c b/drivers/ide/amd74xx.c index 108e9b676859..3eee7be7ca6f 100644 --- a/drivers/ide/amd74xx.c +++ b/drivers/ide/amd74xx.c | |||
@@ -108,9 +108,9 @@ static void amd_set_drive(ide_drive_t *drive, const u8 speed) | |||
108 | * amd_set_pio_mode() is a callback from upper layers for PIO-only tuning. | 108 | * amd_set_pio_mode() is a callback from upper layers for PIO-only tuning. |
109 | */ | 109 | */ |
110 | 110 | ||
111 | static void amd_set_pio_mode(ide_drive_t *drive, const u8 pio) | 111 | static void amd_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) |
112 | { | 112 | { |
113 | amd_set_drive(drive, XFER_PIO_0 + pio); | 113 | amd_set_drive(drive, drive->pio_mode); |
114 | } | 114 | } |
115 | 115 | ||
116 | static void amd7409_cable_detect(struct pci_dev *dev) | 116 | static void amd7409_cable_detect(struct pci_dev *dev) |