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
/
ide-pnp.c
diff --git
a/drivers/ide/ide-pnp.c
b/drivers/ide/ide-pnp.c
index
34c2ad3
..
efc1936
100644
(file)
--- a/
drivers/ide/ide-pnp.c
+++ b/
drivers/ide/ide-pnp.c
@@
-38,7
+38,7
@@
static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id
pnp_port_start(dev, 1));
hw.irq = pnp_irq(dev, 0);
- hwif = ide_find_port(
hw.io_ports[IDE_DATA_OFFSET]
);
+ hwif = ide_find_port();
if (hwif) {
u8 index = hwif->index;
u8 idx[4] = { index, 0xff, 0xff, 0xff };