Merge branch 'for-Linus' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux...
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / pci_32.c
index 4b06ec5a502e2ce47a31d7a6f3d9fa4b1d06bf72..e37c2152acf4d96eaed43e70cb40a1ea06c85edb 100644 (file)
@@ -208,12 +208,12 @@ pci_create_OF_bus_map(void)
                of_prop->name = "pci-OF-bus-map";
                of_prop->length = 256;
                of_prop->value = &of_prop[1];
-               prom_add_property(dn, of_prop);
+               of_add_property(dn, of_prop);
                of_node_put(dn);
        }
 }
 
-void __devinit pcibios_setup_phb_io_space(struct pci_controller *hose)
+void pcibios_setup_phb_io_space(struct pci_controller *hose)
 {
        unsigned long io_offset;
        struct resource *res = &hose->io_resource;