aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/platforms/85xx/common.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-11-30 10:19:17 -0600
committerKumar Gala <galak@kernel.crashing.org>2012-04-19 14:43:27 -0500
commit8a95bc8dfe06982fc2b8a0a2adda7baa2346a17b (patch)
treebfb0f17c732c072eb9a477d8972a733b1e848906 /arch/powerpc/platforms/85xx/common.c
parentpowerpc: Fix typo in runlatch code (diff)
downloadwireguard-linux-8a95bc8dfe06982fc2b8a0a2adda7baa2346a17b.tar.xz
wireguard-linux-8a95bc8dfe06982fc2b8a0a2adda7baa2346a17b.zip
powerpc/85xx: don't call of_platform_bus_probe() twice
Commit 46d026ac ("powerpc/85xx: consolidate of_platform_bus_probe calls") replaced platform-specific of_device_id tables with a single function that probes the most of the busses in 85xx device trees. If a specific platform needed additional busses probed, then it could call of_platform_bus_probe() again. Typically, the additional platform-specific busses are children of existing busses that have already been probed. of_platform_bus_probe() does not handle those child busses automatically. Unfortunately, this doesn't actually work. The second (platform-specific) call to of_platform_bus_probe() never finds any of the busses it's asked to find. To remedy this, the platform-specific of_device_id tables are eliminated, and their entries are merged into mpc85xx_common_ids[], so that all busses are probed at once. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/common.c')
-rw-r--r--arch/powerpc/platforms/85xx/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/common.c b/arch/powerpc/platforms/85xx/common.c
index 9fef5302adc1..67dac22b4363 100644
--- a/arch/powerpc/platforms/85xx/common.c
+++ b/arch/powerpc/platforms/85xx/common.c
@@ -21,6 +21,12 @@ static struct of_device_id __initdata mpc85xx_common_ids[] = {
{ .compatible = "fsl,qe", },
{ .compatible = "fsl,cpm2", },
{ .compatible = "fsl,srio", },
+ /* So that the DMA channel nodes can be probed individually: */
+ { .compatible = "fsl,eloplus-dma", },
+ /* For the PMC driver */
+ { .compatible = "fsl,mpc8548-guts", },
+ /* Probably unnecessary? */
+ { .compatible = "gpio-leds", },
{},
};