summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2008-01-08 20:35:04 +0100
committerGrant Likely <grant.likely@secretlab.ca>2008-01-09 15:48:31 +0100
commit021a607c2fe59cc5c37fd67813b4a61fd2f7e61b (patch)
treeda63cc040bd9b77b18a659b790b7dd99a3cf99f4 /arch/powerpc
parentMerge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/ol... (diff)
downloadlinux-021a607c2fe59cc5c37fd67813b4a61fd2f7e61b.tar.xz
linux-021a607c2fe59cc5c37fd67813b4a61fd2f7e61b.zip
[POWERPC] Xilinx: update compatible list for interrupt controller
These values now match what is generated by the uboot BSP generator. Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/sysdev/xilinx_intc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c
index c2f17cc43dfa..ba8eea2bcce0 100644
--- a/arch/powerpc/sysdev/xilinx_intc.c
+++ b/arch/powerpc/sysdev/xilinx_intc.c
@@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void)
struct device_node *np;
/* find top level interrupt controller */
- for_each_compatible_node(np, NULL, "xilinx,intc") {
+ for_each_compatible_node(np, NULL, "xlnx,opb-intc-1.00.c") {
if (!of_get_property(np, "interrupts", NULL))
break;
}
+ if (!np) {
+ for_each_compatible_node(np, NULL, "xlnx,xps-intc-1.00.a") {
+ if (!of_get_property(np, "interrupts", NULL))
+ break;
+ }
+ }
/* xilinx interrupt controller needs to be top level */
BUG_ON(!np);