diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:58 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:58 -0400 |
commit | 2134758d2a5429325cee4d4ce8959af5314eeba1 (patch) | |
tree | cc0d1326c04522e70c1f52598c9aba29aa85170f /drivers/ide/pci/it8213.c | |
parent | e5fa4b2968ff0f32b5ecfa082fd6db50b731055e (diff) |
ide: drop "PIO data" argument from ide_get_best_pio_mode()
* Drop no longer needed "PIO data" argument from ide_get_best_pio_mode()
and convert all users accordingly.
* Remove no longer needed ide_pio_data_t.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/it8213.c')
-rw-r--r-- | drivers/ide/pci/it8213.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/it8213.c b/drivers/ide/pci/it8213.c index 684b0ec79f41..d8425a2499bf 100644 --- a/drivers/ide/pci/it8213.c +++ b/drivers/ide/pci/it8213.c | |||
@@ -82,7 +82,7 @@ static void it8213_tuneproc (ide_drive_t *drive, u8 pio) | |||
82 | { 2, 1 }, | 82 | { 2, 1 }, |
83 | { 2, 3 }, }; | 83 | { 2, 3 }, }; |
84 | 84 | ||
85 | pio = ide_get_best_pio_mode(drive, pio, 4, NULL); | 85 | pio = ide_get_best_pio_mode(drive, pio, 4); |
86 | 86 | ||
87 | spin_lock_irqsave(&tune_lock, flags); | 87 | spin_lock_irqsave(&tune_lock, flags); |
88 | pci_read_config_word(dev, master_port, &master_data); | 88 | pci_read_config_word(dev, master_port, &master_data); |
@@ -214,7 +214,7 @@ static int it8213_config_drive_for_dma (ide_drive_t *drive) | |||
214 | if (ide_tune_dma(drive)) | 214 | if (ide_tune_dma(drive)) |
215 | return 0; | 215 | return 0; |
216 | 216 | ||
217 | pio = ide_get_best_pio_mode(drive, 255, 4, NULL); | 217 | pio = ide_get_best_pio_mode(drive, 255, 4); |
218 | it8213_tune_chipset(drive, XFER_PIO_0 + pio); | 218 | it8213_tune_chipset(drive, XFER_PIO_0 + pio); |
219 | 219 | ||
220 | return -1; | 220 | return -1; |