]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc/85xx: Remove unused pci fixup hooks on c293pcie
authorHou Zhiqiang <B48286@freescale.com>
Mon, 10 Aug 2015 09:39:45 +0000 (17:39 +0800)
committerScott Wood <scottwood@freescale.com>
Mon, 17 Aug 2015 23:55:05 +0000 (18:55 -0500)
The c293pcie board is an endpoint device and it doesn't need PM,
so remove hooks pcibios_fixup_phb and pcibios_fixup_bus.

Signed-off-by: Hou Zhiqiang <B48286@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/platforms/85xx/c293pcie.c

index 84476b646005aab57db2447ad0f711595bf3d0bf..61bc851e9a8e8c8ee91b6df4dafca53c0babfcf9 100644 (file)
@@ -66,10 +66,6 @@ define_machine(c293_pcie) {
        .probe                  = c293_pcie_probe,
        .setup_arch             = c293_pcie_setup_arch,
        .init_IRQ               = c293_pcie_pic_init,
-#ifdef CONFIG_PCI
-       .pcibios_fixup_bus      = fsl_pcibios_fixup_bus,
-       .pcibios_fixup_phb      = fsl_pcibios_fixup_phb,
-#endif
        .get_irq                = mpic_get_irq,
        .restart                = fsl_rstcr_restart,
        .calibrate_decr         = generic_calibrate_decr,