Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279511
b: refs/heads/master
c: 3631cb8
h: refs/heads/master
i:
  279509: 5597bf7
  279507: ee821f5
  279503: 6120c04
v: v3
  • Loading branch information
Julia Lawall authored and Benjamin Herrenschmidt committed Nov 25, 2011
1 parent d4f1e8e commit d3a7e23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: dbfc189cc59adb2150e7e7b461d73e5a40e1158c
refs/heads/master: 3631cb83ddb13dee08923103e837130069a9944b
8 changes: 6 additions & 2 deletions trunk/arch/powerpc/platforms/powermac/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,15 @@ static int __init pmac_declare_of_platform_devices(void)
return -1;

np = of_find_node_by_name(NULL, "valkyrie");
if (np)
if (np) {
of_platform_device_create(np, "valkyrie", NULL);
of_node_put(np);
}
np = of_find_node_by_name(NULL, "platinum");
if (np)
if (np) {
of_platform_device_create(np, "platinum", NULL);
of_node_put(np);
}
np = of_find_node_by_type(NULL, "smu");
if (np) {
of_platform_device_create(np, "smu", NULL);
Expand Down

0 comments on commit d3a7e23

Please sign in to comment.