Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81262
b: refs/heads/master
c: a6f024b
h: refs/heads/master
v: v3
  • Loading branch information
Marian Balakowicz authored and Grant Likely committed Jan 18, 2008
1 parent 6392f37 commit 49b0b90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52920df4aa9dd25836b8ed4dc0b177ea14c09e53
refs/heads/master: a6f024bbbef1f529cd6bee57f3ff576139e6f8d7
12 changes: 11 additions & 1 deletion trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,21 @@ mpc5200_setup_xlb_arbiter(void)
iounmap(xlb);
}

static struct of_device_id mpc52xx_bus_ids[] __initdata= {
{ .compatible = "fsl,mpc5200-immr", },
{ .compatible = "fsl,lpb", },

/* depreciated matches; shouldn't be used in new device trees */
{ .type = "builtin", .compatible = "mpc5200", }, /* efika */
{ .type = "soc", .compatible = "mpc5200", }, /* lite5200 */
{},
};

void __init
mpc52xx_declare_of_platform_devices(void)
{
/* Find every child of the SOC node and add it to of_platform */
if (of_platform_bus_probe(NULL, NULL, NULL))
if (of_platform_bus_probe(NULL, mpc52xx_bus_ids, NULL))
printk(KERN_ERR __FILE__ ": "
"Error while probing of_platform bus\n");
}
Expand Down

0 comments on commit 49b0b90

Please sign in to comment.