diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-11-17 09:48:50 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-24 03:01:41 -0500 |
commit | 5d71349580757eb5f109fb1e396a8544f3043160 (patch) | |
tree | fb2ece7311adb81ed034fb9ab49b2e8b4a14eb21 /arch/powerpc/platforms/83xx | |
parent | bede480d45f7257fa648b4c32a0549cfcca59b90 (diff) |
powerpc/83xx: make mpc830x_rdb use mpc83xx_setup_pci
Traditionally mpc830x_rdb board file searched for mpc8308-pcie devices.
However both in-kernel dts from the beginning declared those pcie units
as compatible with mpc8314-pci, which is handled by mpc83xx_setup_pci().
Drop special handling for mpc8308 and use common function instead.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/83xx')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc830x_rdb.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc830x_rdb.c b/arch/powerpc/platforms/83xx/mpc830x_rdb.c index ef595f1ef705..4f2d9fea77b7 100644 --- a/arch/powerpc/platforms/83xx/mpc830x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc830x_rdb.c | |||
@@ -27,17 +27,10 @@ | |||
27 | */ | 27 | */ |
28 | static void __init mpc830x_rdb_setup_arch(void) | 28 | static void __init mpc830x_rdb_setup_arch(void) |
29 | { | 29 | { |
30 | #ifdef CONFIG_PCI | ||
31 | struct device_node *np; | ||
32 | #endif | ||
33 | |||
34 | if (ppc_md.progress) | 30 | if (ppc_md.progress) |
35 | ppc_md.progress("mpc830x_rdb_setup_arch()", 0); | 31 | ppc_md.progress("mpc830x_rdb_setup_arch()", 0); |
36 | 32 | ||
37 | #ifdef CONFIG_PCI | 33 | mpc83xx_setup_pci(); |
38 | for_each_compatible_node(np, "pci", "fsl,mpc8308-pcie") | ||
39 | mpc83xx_add_bridge(np); | ||
40 | #endif | ||
41 | mpc831x_usb_cfg(); | 34 | mpc831x_usb_cfg(); |
42 | } | 35 | } |
43 | 36 | ||