Merge branch 'for-6.9/amd-sfh' into for-linus
[sfrench/cifs-2.6.git] / drivers / pci / endpoint / functions / pci-epf-mhi.c
index d3d6a1054036bb909d584f50b7d11870a821fc90..1c3e4ea76bd2578e47397d0ddbcfa96a8f705574 100644 (file)
@@ -218,7 +218,7 @@ static void pci_epf_mhi_raise_irq(struct mhi_ep_cntrl *mhi_cntrl, u32 vector)
         * MHI supplies 0 based MSI vectors but the API expects the vector
         * number to start from 1, so we need to increment the vector by 1.
         */
-       pci_epc_raise_irq(epc, epf->func_no, epf->vfunc_no, PCI_EPC_IRQ_MSI,
+       pci_epc_raise_irq(epc, epf->func_no, epf->vfunc_no, PCI_IRQ_MSI,
                          vector + 1);
 }
 
@@ -880,7 +880,7 @@ static void pci_epf_mhi_unbind(struct pci_epf *epf)
        pci_epc_clear_bar(epc, epf->func_no, epf->vfunc_no, epf_bar);
 }
 
-static struct pci_epc_event_ops pci_epf_mhi_event_ops = {
+static const struct pci_epc_event_ops pci_epf_mhi_event_ops = {
        .core_init = pci_epf_mhi_core_init,
        .link_up = pci_epf_mhi_link_up,
        .link_down = pci_epf_mhi_link_down,
@@ -918,7 +918,7 @@ static const struct pci_epf_device_id pci_epf_mhi_ids[] = {
        {},
 };
 
-static struct pci_epf_ops pci_epf_mhi_ops = {
+static const struct pci_epf_ops pci_epf_mhi_ops = {
        .unbind = pci_epf_mhi_unbind,
        .bind   = pci_epf_mhi_bind,
 };