From: Hou Zhiqiang Date: Mon, 10 Aug 2015 09:39:45 +0000 (+0800) Subject: powerpc/85xx: Remove unused pci fixup hooks on c293pcie X-Git-Tag: v4.14-rc1~4767^2~6^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32d3c4ff01e0c765594b7dd8f5c539e9dca92223;p=platform%2Fkernel%2Flinux-rpi.git powerpc/85xx: Remove unused pci fixup hooks on c293pcie 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 Signed-off-by: Scott Wood --- diff --git a/arch/powerpc/platforms/85xx/c293pcie.c b/arch/powerpc/platforms/85xx/c293pcie.c index 84476b6..61bc851 100644 --- a/arch/powerpc/platforms/85xx/c293pcie.c +++ b/arch/powerpc/platforms/85xx/c293pcie.c @@ -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,