powerpc/eeh: Fix wrong argument passed to eeh_rmv_device()
[cascardo/linux.git] / arch / powerpc / kernel / eeh_driver.c
index b5f73cb..d70101e 100644 (file)
@@ -647,7 +647,7 @@ static int eeh_reset_device(struct eeh_pe *pe, struct pci_bus *bus,
                        pci_unlock_rescan_remove();
                }
        } else if (frozen_bus) {
-               eeh_pe_dev_traverse(pe, eeh_rmv_device, &rmv_data);
+               eeh_pe_dev_traverse(pe, eeh_rmv_device, rmv_data);
        }
 
        /*