PATCH: Phil Copeland discovered ide-pnp hadn't been updated

From: Alan Cox
Date: Mon Aug 16 2004 - 07:41:55 EST


--- drivers/ide/ide-pnp.c~ 2004-08-16 13:36:35.531635600 +0100
+++ drivers/ide/ide-pnp.c 2004-08-16 13:36:35.531635600 +0100
@@ -57,7 +57,7 @@
{
ide_hwif_t *hwif = pnp_get_drvdata(dev);
if (hwif) {
- ide_unregister(hwif->index);
+ ide_unregister_hwif(hwif);
} else
printk(KERN_ERR "idepnp: Unable to remove device, please report.\n");
}

Signed-off-by: Alan Cox


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/