linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] powerpc/85xx: Remove unused pci fixup hooks on c293pcie
@ 2015-08-10  9:39 Zhiqiang Hou
  2015-08-18  9:26 ` Hou Zhiqiang
  0 siblings, 1 reply; 3+ messages in thread
From: Zhiqiang Hou @ 2015-08-10  9:39 UTC (permalink / raw)
  To: galak, linuxppc-dev, scottwood; +Cc: Mingkai.Hu, Dongsheng.Wang, Hou Zhiqiang

From: Hou Zhiqiang <B48286@freescale.com>

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>
---
Test on c293pcie board:
V2:
    Rename the title of this patch.
    Remove pcibios_fixup_bus that isn't used in EP.

 arch/powerpc/platforms/85xx/c293pcie.c | 4 ----
 1 file changed, 4 deletions(-)

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,
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-18 15:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10  9:39 [PATCH V2] powerpc/85xx: Remove unused pci fixup hooks on c293pcie Zhiqiang Hou
2015-08-18  9:26 ` Hou Zhiqiang
2015-08-18 15:45   ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).