diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-01-11 08:02:57 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-01-11 08:02:57 -0500 |
commit | 98c31c1d6c9c8a7e57cdac96ad574e0e172d3192 (patch) | |
tree | ab870590bfaf03fb8f9a41b7f61f0b329cd33498 /arch/powerpc/sysdev | |
parent | 78994e240fce03832ceebc875c43773a2c615e79 (diff) | |
parent | f67702a37533f59eee3386578450eeeb531da279 (diff) |
Merge branch 'virtex-for-2.6.25' of git://git.secretlab.ca/git/linux-2.6-virtex into for-2.6.25
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/xilinx_intc.c | 8 |
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) | |||
135 | struct device_node *np; | 135 | struct device_node *np; |
136 | 136 | ||
137 | /* find top level interrupt controller */ | 137 | /* find top level interrupt controller */ |
138 | for_each_compatible_node(np, NULL, "xilinx,intc") { | 138 | for_each_compatible_node(np, NULL, "xlnx,opb-intc-1.00.c") { |
139 | if (!of_get_property(np, "interrupts", NULL)) | 139 | if (!of_get_property(np, "interrupts", NULL)) |
140 | break; | 140 | break; |
141 | } | 141 | } |
142 | if (!np) { | ||
143 | for_each_compatible_node(np, NULL, "xlnx,xps-intc-1.00.a") { | ||
144 | if (!of_get_property(np, "interrupts", NULL)) | ||
145 | break; | ||
146 | } | ||
147 | } | ||
142 | 148 | ||
143 | /* xilinx interrupt controller needs to be top level */ | 149 | /* xilinx interrupt controller needs to be top level */ |
144 | BUG_ON(!np); | 150 | BUG_ON(!np); |