xen/pciback: Fix incorrect type warnings
[linux-2.6-microblaze.git] / drivers / xen / xen-pciback / pci_stub.c
index cb904ac..f8e4faa 100644 (file)
@@ -802,7 +802,7 @@ static pci_ers_result_t xen_pcibk_slot_reset(struct pci_dev *dev)
                        "guest with no AER driver should have been killed\n");
                goto end;
        }
-       result = common_process(psdev, 1, XEN_PCI_OP_aer_slotreset, result);
+       result = common_process(psdev, pci_channel_io_normal, XEN_PCI_OP_aer_slotreset, result);
 
        if (result == PCI_ERS_RESULT_NONE ||
                result == PCI_ERS_RESULT_DISCONNECT) {
@@ -859,7 +859,7 @@ static pci_ers_result_t xen_pcibk_mmio_enabled(struct pci_dev *dev)
                        "guest with no AER driver should have been killed\n");
                goto end;
        }
-       result = common_process(psdev, 1, XEN_PCI_OP_aer_mmio, result);
+       result = common_process(psdev, pci_channel_io_normal, XEN_PCI_OP_aer_mmio, result);
 
        if (result == PCI_ERS_RESULT_NONE ||
                result == PCI_ERS_RESULT_DISCONNECT) {
@@ -970,7 +970,7 @@ static void xen_pcibk_error_resume(struct pci_dev *dev)
                kill_domain_by_device(psdev);
                goto end;
        }
-       common_process(psdev, 1, XEN_PCI_OP_aer_resume,
+       common_process(psdev, pci_channel_io_normal, XEN_PCI_OP_aer_resume,
                       PCI_ERS_RESULT_RECOVERED);
 end:
        if (psdev)