diff options
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx/linkstation.c')
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/linkstation.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c b/arch/powerpc/platforms/embedded6xx/linkstation.c index 72b36850c5e3..502ff60db968 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c | |||
@@ -81,13 +81,9 @@ static void __init linkstation_setup_arch(void) | |||
81 | static void __init linkstation_init_IRQ(void) | 81 | static void __init linkstation_init_IRQ(void) |
82 | { | 82 | { |
83 | struct mpic *mpic; | 83 | struct mpic *mpic; |
84 | struct device_node *dnp; | ||
85 | 84 | ||
86 | dnp = of_find_node_by_type(NULL, "open-pic"); | 85 | mpic = mpic_alloc(NULL, 0, MPIC_PRIMARY | MPIC_WANTS_RESET, |
87 | if (dnp == NULL) | 86 | 4, 32, " EPIC "); |
88 | return; | ||
89 | |||
90 | mpic = mpic_alloc(dnp, 0, MPIC_PRIMARY | MPIC_WANTS_RESET, 4, 32, " EPIC "); | ||
91 | BUG_ON(mpic == NULL); | 87 | BUG_ON(mpic == NULL); |
92 | 88 | ||
93 | /* PCI IRQs */ | 89 | /* PCI IRQs */ |