sparc: remove references to of_device and to_of_device
[deliverable/linux.git] / arch / sparc / kernel / pci_sun4v.c
index 18ee8b6f40362615a30536afcb18326bb3a89733..743344aa6d8a6a1d6f32738b3e5c1f40352f67d9 100644 (file)
@@ -879,7 +879,7 @@ static void pci_sun4v_msi_init(struct pci_pbm_info *pbm)
 #endif /* !(CONFIG_PCI_MSI) */
 
 static int __devinit pci_sun4v_pbm_init(struct pci_pbm_info *pbm,
-                                       struct of_device *op, u32 devhandle)
+                                       struct platform_device *op, u32 devhandle)
 {
        struct device_node *dp = op->dev.of_node;
        int err;
@@ -918,7 +918,7 @@ static int __devinit pci_sun4v_pbm_init(struct pci_pbm_info *pbm,
        return 0;
 }
 
-static int __devinit pci_sun4v_probe(struct of_device *op,
+static int __devinit pci_sun4v_probe(struct platform_device *op,
                                     const struct of_device_id *match)
 {
        const struct linux_prom64_registers *regs;
This page took 0.024751 seconds and 5 git commands to generate.