Skip to contentSkip to conversation

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

PATCH Alan Cox 1 participant 1 message Aug 16, 2004 libata

lore
Share & tools
lore

Alan Cox

author
#0 lore raw
ide/ide-pnp.c renamed from ide/ide-pnp.c~ +1 -1
@@ -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