Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127647
b: refs/heads/master
c: 78c7705
h: refs/heads/master
i:
  127645: 41354a3
  127643: c95a1be
  127639: 844ada9
  127631: 65ee349
  127615: 364791c
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Dec 30, 2008
1 parent 21856fd commit 7a366ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 81b36a0b6ea97c5c2f59e504c56e5a57ee26884a
refs/heads/master: 78c7705037ed9f107660178e17aa73f8bc4127e8
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/platforms/83xx/mpc836x_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/reboot.h>
Expand Down Expand Up @@ -55,8 +56,6 @@
#define DBG(fmt...)
#endif

static u8 *bcsr_regs = NULL;

/* ************************************************************************
*
* Setup the architecture
Expand All @@ -65,13 +64,14 @@ static u8 *bcsr_regs = NULL;
static void __init mpc836x_mds_setup_arch(void)
{
struct device_node *np;
u8 __iomem *bcsr_regs = NULL;

if (ppc_md.progress)
ppc_md.progress("mpc836x_mds_setup_arch()", 0);

/* Map BCSR area */
np = of_find_node_by_name(NULL, "bcsr");
if (np != 0) {
if (np) {
struct resource res;

of_address_to_resource(np, 0, &res);
Expand Down

0 comments on commit 7a366ac

Please sign in to comment.