diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:32 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:32 +0200 |
commit | 59bff5ba5529feac3a0214d897b1920cbe4e2278 (patch) | |
tree | d849fb6c526077f96512b8253c924fba1ec5cb12 /drivers/ide/legacy/q40ide.c | |
parent | bad7c825cb27377faf1c926953aa15c980c62620 (diff) | |
download | linux-59bff5ba5529feac3a0214d897b1920cbe4e2278.tar.gz linux-59bff5ba5529feac3a0214d897b1920cbe4e2278.tar.bz2 linux-59bff5ba5529feac3a0214d897b1920cbe4e2278.zip |
ide: cleanup ide_find_port()
Remove no longer needed matching against I/O base and 'base' argument.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy/q40ide.c')
-rw-r--r-- | drivers/ide/legacy/q40ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/q40ide.c b/drivers/ide/legacy/q40ide.c index 2da28759686e..fcbff0eced1b 100644 --- a/drivers/ide/legacy/q40ide.c +++ b/drivers/ide/legacy/q40ide.c @@ -137,7 +137,7 @@ static int __init q40ide_init(void) // m68kide_iops, q40ide_default_irq(pcide_bases[i])); - hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); + hwif = ide_find_port(); if (hwif) { ide_init_port_data(hwif, hwif->index); ide_init_port_hw(hwif, &hw); |