diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
commit | 21a3387ddd9eedcf6d4f47e591ffa90128b9f560 (patch) | |
tree | b1078598c6e93e1c232312a366f60f1e1d29eeb6 /drivers/ide/pci/pdc202xx_old.c | |
parent | eb63963a55f039f049d0dd1121f91f332af6ecc9 (diff) |
ide: remove ->extra field from struct ide_port_info
Always setup hwif->extra_base in ide_iomio_dma() and remove
no longer needed ->extra field from struct ide_port_info.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 00563e1bfc73..06617ab16248 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -358,7 +358,6 @@ static const struct ide_port_ops pdc2026x_port_ops = { | |||
358 | .init_chipset = init_chipset_pdc202xx, \ | 358 | .init_chipset = init_chipset_pdc202xx, \ |
359 | .init_hwif = init_hwif_pdc202xx, \ | 359 | .init_hwif = init_hwif_pdc202xx, \ |
360 | .init_dma = init_dma_pdc202xx, \ | 360 | .init_dma = init_dma_pdc202xx, \ |
361 | .extra = 48, \ | ||
362 | .port_ops = &pdc2026x_port_ops, \ | 361 | .port_ops = &pdc2026x_port_ops, \ |
363 | .host_flags = IDE_HFLAGS_PDC202XX | extra_flags, \ | 362 | .host_flags = IDE_HFLAGS_PDC202XX | extra_flags, \ |
364 | .pio_mask = ATA_PIO4, \ | 363 | .pio_mask = ATA_PIO4, \ |
@@ -373,7 +372,6 @@ static const struct ide_port_info pdc202xx_chipsets[] __devinitdata = { | |||
373 | .init_hwif = init_hwif_pdc202xx, | 372 | .init_hwif = init_hwif_pdc202xx, |
374 | .init_dma = init_dma_pdc202xx, | 373 | .init_dma = init_dma_pdc202xx, |
375 | .port_ops = &pdc20246_port_ops, | 374 | .port_ops = &pdc20246_port_ops, |
376 | .extra = 16, | ||
377 | .host_flags = IDE_HFLAGS_PDC202XX, | 375 | .host_flags = IDE_HFLAGS_PDC202XX, |
378 | .pio_mask = ATA_PIO4, | 376 | .pio_mask = ATA_PIO4, |
379 | .mwdma_mask = ATA_MWDMA2, | 377 | .mwdma_mask = ATA_MWDMA2, |