Re: [PATCH 03/11] [POWERPC] Add common mpc52xx_setup_pci() routine
From: Stephen Rothwell <hidden>
Date: 2007-10-24 07:16:31
Attachments
- (unnamed) [application/pgp-signature] 189 bytes
From: Stephen Rothwell <hidden>
Date: 2007-10-24 07:16:31
On Wed, 24 Oct 2007 01:13:21 +0200 Marian Balakowicz [off-list ref] wrote:
+++ b/arch/powerpc/platforms/52xx/lite5200.c@@ -155,11 +155,7 @@ static void __init lite5200_setup_arch(void) #endif #ifdef CONFIG_PCI - np = of_find_node_by_type(NULL, "pci"); - if (np) { - mpc52xx_add_bridge(np); - of_node_put(np); - } + mpc52xx_setup_pci(); #endif
Normally we would have no "#ifdef CONFIG_PCI" here but instead define a
static inline void mpc52xx_setup_pci(void) { }
in the header file for the non PCI case.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/