Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356437
b: refs/heads/master
c: 8443cc1
h: refs/heads/master
i:
  356435: ef286f5
v: v3
  • Loading branch information
Kim Phillips authored and Kumar Gala committed Feb 12, 2013
1 parent 75861fc commit 2c33e25
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: 01673a135eca8c6e984488ba9c29aa0b09601f77
refs/heads/master: 8443cc142d81b722740a98f42cd4deae826311d0
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/sysdev/fsl_soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ phys_addr_t get_immrbase(void)
if (soc) {
int size;
u32 naddr;
const u32 *prop = of_get_property(soc, "#address-cells", &size);
const __be32 *prop = of_get_property(soc, "#address-cells", &size);

if (prop && size == 4)
naddr = *prop;
naddr = be32_to_cpup(prop);
else
naddr = 2;

Expand Down

0 comments on commit 2c33e25

Please sign in to comment.