Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83949
b: refs/heads/master
c: 75e89b0
h: refs/heads/master
i:
  83947: 044cf0a
v: v3
  • Loading branch information
Julia Lawall authored and Paul Mackerras committed Feb 6, 2008
1 parent 60f1cab commit ccfdd8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: b1725c9319aae42d7bd1159fc99e033d5a3076f8
refs/heads/master: 75e89b02e338d0db27f8e5d66642c7e2ae49c326
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/82xx/mpc8272_ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,12 @@ static void __init mpc8272_ads_setup_arch(void)
}

bcsr = of_iomap(np, 0);
of_node_put(np);
if (!bcsr) {
printk(KERN_ERR "Cannot map BCSR registers\n");
return;
}

of_node_put(np);

clrbits32(&bcsr[1], BCSR1_RS232_EN1 | BCSR1_RS232_EN2 | BCSR1_FETHIEN);
setbits32(&bcsr[1], BCSR1_FETH_RST);

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/82xx/pq2fads.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,12 @@ static void __init pq2fads_setup_arch(void)
}

bcsr = of_iomap(np, 0);
of_node_put(np);
if (!bcsr) {
printk(KERN_ERR "Cannot map BCSR registers\n");
return;
}

of_node_put(np);

/* Enable the serial and ethernet ports */

clrbits32(&bcsr[1], BCSR1_RS232_EN1 | BCSR1_RS232_EN2 | BCSR1_FETHIEN);
Expand Down

0 comments on commit ccfdd8e

Please sign in to comment.