Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181936
b: refs/heads/master
c: 5b2b625
h: refs/heads/master
v: v3
  • Loading branch information
Anatolij Gustschin authored and Grant Likely committed Feb 16, 2010
1 parent fab13b0 commit 14eb081
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 50aae7241eb94e02d97e03cd88be425ef09e6ab4
refs/heads/master: 5b2b6255f2fda198cd5176f6cddae600c946a87d
8 changes: 8 additions & 0 deletions trunk/arch/powerpc/platforms/512x/mpc512x_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,17 @@ static struct of_device_id __initdata of_bus_ids[] = {

void __init mpc512x_declare_of_platform_devices(void)
{
struct device_node *np;

if (of_platform_bus_probe(NULL, of_bus_ids, NULL))
printk(KERN_ERR __FILE__ ": "
"Error while probing of_platform bus\n");

np = of_find_compatible_node(NULL, NULL, "fsl,mpc5121-nfc");
if (np) {
of_platform_device_create(np, NULL, NULL);
of_node_put(np);
}
}

void __init mpc512x_init(void)
Expand Down

0 comments on commit 14eb081

Please sign in to comment.