mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 08:16:47 +02:00
8e06d437aa
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31529 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
695 B
Diff
24 lines
695 B
Diff
--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c
|
|
+++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
|
|
@@ -215,15 +215,16 @@ static int mpc85xx_cds_8259_attach(void)
|
|
return -ENODEV;
|
|
}
|
|
|
|
+ i8259_init(cascade_node, 0);
|
|
+ of_node_put(cascade_node);
|
|
+
|
|
cascade_irq = irq_of_parse_and_map(cascade_node, 0);
|
|
if (cascade_irq == NO_IRQ) {
|
|
- printk(KERN_ERR "Failed to map cascade interrupt\n");
|
|
+ of_node_put(cascade_node);
|
|
+ printk(KERN_DEBUG "No interrupt for i8259 PIC\n");
|
|
return -ENXIO;
|
|
}
|
|
|
|
- i8259_init(cascade_node, 0);
|
|
- of_node_put(cascade_node);
|
|
-
|
|
/*
|
|
* Hook the interrupt to make sure desc->action is never NULL.
|
|
* This is required to ensure that the interrupt does not get
|