powerpc/maple: Move controller ops from ppc_md to controller_ops
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / maple / pci.c
index d3a13067ec426ec3472a7dadaa2ea1dbedccac05..a923230e575bcab1724e7cc7d8c4166e38adf7b8 100644 (file)
@@ -510,6 +510,7 @@ static int __init maple_add_bridge(struct device_node *dev)
                return -ENOMEM;
        hose->first_busno = bus_range ? bus_range[0] : 0;
        hose->last_busno = bus_range ? bus_range[1] : 0xff;
+       hose->controller_ops = maple_pci_controller_ops;
 
        disp_name = NULL;
        if (of_device_is_compatible(dev, "u3-agp")) {
@@ -660,3 +661,6 @@ static void quirk_ipr_msi(struct pci_dev *dev)
 }
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN,
                        quirk_ipr_msi);
+
+struct pci_controller_ops maple_pci_controller_ops = {
+};