linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Zhiqiang Hou <B48286@freescale.com>
To: <galak@kernel.crashing.org>, <linuxppc-dev@lists.ozlabs.org>,
	<scottwood@freescale.com>
Cc: <Mingkai.Hu@freescale.com>, <Dongsheng.Wang@freescale.com>,
	Hou Zhiqiang <B48286@freescale.com>
Subject: [PATCH V2] powerpc/85xx: Remove unused pci fixup hooks on c293pcie
Date: Mon, 10 Aug 2015 17:39:45 +0800	[thread overview]
Message-ID: <1439199585-37464-1-git-send-email-B48286@freescale.com> (raw)

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

             reply	other threads:[~2015-08-10  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10  9:39 Zhiqiang Hou [this message]
2015-08-18  9:26 ` [PATCH V2] powerpc/85xx: Remove unused pci fixup hooks on c293pcie Hou Zhiqiang
2015-08-18 15:45   ` Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439199585-37464-1-git-send-email-B48286@freescale.com \
    --to=b48286@freescale.com \
    --cc=Dongsheng.Wang@freescale.com \
    --cc=Mingkai.Hu@freescale.com \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=scottwood@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).