aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/stx_gp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/85xx/stx_gp3.c')
-rw-r--r--arch/powerpc/platforms/85xx/stx_gp3.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/powerpc/platforms/85xx/stx_gp3.c b/arch/powerpc/platforms/85xx/stx_gp3.c
index 060d51480758..8ca1e61488df 100644
--- a/arch/powerpc/platforms/85xx/stx_gp3.c
+++ b/arch/powerpc/platforms/85xx/stx_gp3.c
@@ -48,21 +48,10 @@
48 48
49static void __init stx_gp3_pic_init(void) 49static void __init stx_gp3_pic_init(void)
50{ 50{
51 struct mpic *mpic; 51 struct mpic *mpic = mpic_alloc(NULL, 0,
52 struct device_node *np;
53
54 np = of_find_node_by_type(NULL, "open-pic");
55 if (!np) {
56 printk(KERN_ERR "Could not find open-pic node\n");
57 return;
58 }
59
60 mpic = mpic_alloc(np, 0,
61 MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN, 52 MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN,
62 0, 256, " OpenPIC "); 53 0, 256, " OpenPIC ");
63 BUG_ON(mpic == NULL); 54 BUG_ON(mpic == NULL);
64 of_node_put(np);
65
66 mpic_init(mpic); 55 mpic_init(mpic);
67 56
68 mpc85xx_cpm2_pic_init(); 57 mpc85xx_cpm2_pic_init();