summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-dma.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 20:25:20 (GMT)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 20:25:20 (GMT)
commit21a3387ddd9eedcf6d4f47e591ffa90128b9f560 (patch)
treeb1078598c6e93e1c232312a366f60f1e1d29eeb6 /drivers/ide/ide-dma.c
parenteb63963a55f039f049d0dd1121f91f332af6ecc9 (diff)
downloadlinux-21a3387ddd9eedcf6d4f47e591ffa90128b9f560.tar.xz
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/ide-dma.c')
-rw-r--r--drivers/ide/ide-dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index 3cdb074..77506fe 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -850,8 +850,7 @@ static int ide_iomio_dma(ide_hwif_t *hwif, unsigned long base)
printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx",
hwif->name, base, base + 7);
- if (hwif->cds->extra)
- hwif->extra_base = base + (hwif->channel ? 8 : 16);
+ hwif->extra_base = base + (hwif->channel ? 8 : 16);
return 0;
}