git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] Use for_each_ matching routinues for pci PHBs
[pandora-kernel.git]
/
arch
/
powerpc
/
platforms
/
85xx
/
mpc85xx_ads.c
diff --git
a/arch/powerpc/platforms/85xx/mpc85xx_ads.c
b/arch/powerpc/platforms/85xx/mpc85xx_ads.c
index
c22bc1c
..
acb1ef9
100644
(file)
--- a/
arch/powerpc/platforms/85xx/mpc85xx_ads.c
+++ b/
arch/powerpc/platforms/85xx/mpc85xx_ads.c
@@
-204,8
+204,9
@@
static void __init mpc85xx_ads_setup_arch(void)
#endif
#ifdef CONFIG_PCI
- for
(np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;
)
+ for
_each_compatible_node(np, "pci", "fsl,mpc8540-pci"
)
fsl_add_bridge(np, 1);
+
ppc_md.pci_exclude_device = mpc85xx_exclude_device;
#endif
}