aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/sbc8560.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/85xx/sbc8560.c')
-rw-r--r--arch/powerpc/platforms/85xx/sbc8560.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc/platforms/85xx/sbc8560.c
index 97f00dec0d93..7e6d7e5b8a41 100644
--- a/arch/powerpc/platforms/85xx/sbc8560.c
+++ b/arch/powerpc/platforms/85xx/sbc8560.c
@@ -41,21 +41,10 @@
41 41
42static void __init sbc8560_pic_init(void) 42static void __init sbc8560_pic_init(void)
43{ 43{
44 struct mpic *mpic; 44 struct mpic *mpic = mpic_alloc(NULL, 0,
45 struct device_node *np = NULL;
46
47 np = of_find_node_by_type(np, "open-pic");
48 if (!np) {
49 printk(KERN_ERR "Could not find open-pic node\n");
50 return;
51 }
52
53 mpic = mpic_alloc(np, 0,
54 MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN, 45 MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN,
55 0, 256, " OpenPIC "); 46 0, 256, " OpenPIC ");
56 BUG_ON(mpic == NULL); 47 BUG_ON(mpic == NULL);
57 of_node_put(np);
58
59 mpic_init(mpic); 48 mpic_init(mpic);
60 49
61 mpc85xx_cpm2_pic_init(); 50 mpc85xx_cpm2_pic_init();