Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101788
b: refs/heads/master
c: a712b65
h: refs/heads/master
v: v3
  • Loading branch information
Kumar Gala committed Jul 14, 2008
1 parent bd3cbb1 commit b63bad5
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: 5e82eb333949e2f1652bf70d36dfaa875306ae11
refs/heads/master: a712b65cd015d9bd05bce01f57a42cd6c73c4aa0
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/platforms/85xx/mpc85xx_ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@ void __init mpc85xx_ds_pic_init(void)
{
struct mpic *mpic;
struct resource r;
struct device_node *np = NULL;
struct device_node *np;
#ifdef CONFIG_PPC_I8259
struct device_node *cascade_node = NULL;
int cascade_irq;
#endif

np = of_find_node_by_type(np, "open-pic");

if (np == NULL) {
printk(KERN_ERR "Could not find open-pic node\n");
return;
Expand All @@ -82,6 +81,7 @@ void __init mpc85xx_ds_pic_init(void)
MPIC_BIG_ENDIAN | MPIC_BROKEN_FRR_NIRQS,
0, 256, " OpenPIC ");
BUG_ON(mpic == NULL);
of_node_put(np);

mpic_init(mpic);

Expand Down Expand Up @@ -185,7 +185,7 @@ static int __init mpc8544_ds_probe(void)
}
}

static struct of_device_id mpc85xxds_ids[] = {
static struct of_device_id __initdata mpc85xxds_ids[] = {
{ .type = "soc", },
{ .compatible = "soc", },
{},
Expand Down

0 comments on commit b63bad5

Please sign in to comment.