Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44232
b: refs/heads/master
c: 5773bbc
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Dec 9, 2006
1 parent 5ac407f commit e76d9bd
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f050982a9b7c4edc414f0d5543c3cb24504223c6
refs/heads/master: 5773bbcdec54b7258cb9e2aa6f3459b4cbfd9dc5
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ static int __init pSeries_probe_hypertas(unsigned long node,
static int __init pSeries_probe(void)
{
unsigned long root = of_get_flat_dt_root();
char *dtype = of_get_flat_dt_prop(of_get_flat_dt_root(),
"device_type", NULL);
char *dtype = of_get_flat_dt_prop(root, "device_type", NULL);

if (dtype == NULL)
return 0;
if (strcmp(dtype, "chrp"))
Expand Down

0 comments on commit e76d9bd

Please sign in to comment.