git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: cleanup ide_find_port()
[safe/jmp/linux-2.6]
/
drivers
/
ide
/
legacy
/
ide-cs.c
diff --git
a/drivers/ide/legacy/ide-cs.c
b/drivers/ide/legacy/ide-cs.c
index
9a23b94
..
b97b8d5
100644
(file)
--- a/
drivers/ide/legacy/ide-cs.c
+++ b/
drivers/ide/legacy/ide-cs.c
@@
-156,7
+156,7
@@
static int idecs_register(unsigned long io, unsigned long ctl, unsigned long irq
hw.chipset = ide_pci;
hw.dev = &handle->dev;
- hwif = ide_find_port(
hw.io_ports[IDE_DATA_OFFSET]
);
+ hwif = ide_find_port();
if (hwif == NULL)
return -1;