diff options
Diffstat (limited to 'arch/powerpc/sysdev/cpm1.c')
-rw-r--r-- | arch/powerpc/sysdev/cpm1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc/sysdev/cpm1.c index 58292a086c1..661df42830b 100644 --- a/arch/powerpc/sysdev/cpm1.c +++ b/arch/powerpc/sysdev/cpm1.c | |||
@@ -159,7 +159,7 @@ unsigned int cpm_pic_init(void) | |||
159 | 159 | ||
160 | out_be32(&cpic_reg->cpic_cimr, 0); | 160 | out_be32(&cpic_reg->cpic_cimr, 0); |
161 | 161 | ||
162 | cpm_pic_host = irq_alloc_host(of_node_get(np), IRQ_HOST_MAP_LINEAR, | 162 | cpm_pic_host = irq_alloc_host(np, IRQ_HOST_MAP_LINEAR, |
163 | 64, &cpm_pic_host_ops, 64); | 163 | 64, &cpm_pic_host_ops, 64); |
164 | if (cpm_pic_host == NULL) { | 164 | if (cpm_pic_host == NULL) { |
165 | printk(KERN_ERR "CPM2 PIC: failed to allocate irq host!\n"); | 165 | printk(KERN_ERR "CPM2 PIC: failed to allocate irq host!\n"); |