diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 11:36:32 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 11:36:32 -0400 |
commit | 59bff5ba5529feac3a0214d897b1920cbe4e2278 (patch) | |
tree | d849fb6c526077f96512b8253c924fba1ec5cb12 /drivers/ide/cris | |
parent | bad7c825cb27377faf1c926953aa15c980c62620 (diff) |
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/cris')
-rw-r--r-- | drivers/ide/cris/ide-cris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index 31266d278095..790a7759d455 100644 --- a/drivers/ide/cris/ide-cris.c +++ b/drivers/ide/cris/ide-cris.c | |||
@@ -804,7 +804,7 @@ static int __init init_e100_ide(void) | |||
804 | 804 | ||
805 | cris_setup_ports(&hw, cris_ide_base_address(h)); | 805 | cris_setup_ports(&hw, cris_ide_base_address(h)); |
806 | 806 | ||
807 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); | 807 | hwif = ide_find_port(); |
808 | if (hwif == NULL) | 808 | if (hwif == NULL) |
809 | continue; | 809 | continue; |
810 | ide_init_port_data(hwif, hwif->index); | 810 | ide_init_port_data(hwif, hwif->index); |