]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/sysdev/cpm2_pic.c
hrtimer: convert powerpc/oprofile to the new hrtimer apis
[linux-2.6-omap-h63xx.git] / arch / powerpc / sysdev / cpm2_pic.c
index d5b36e0ecbdae8d43d55a3f16d804185eacce91f..b16ca3ed65d25bbee94aaeb82809c6810e60db97 100644 (file)
@@ -48,7 +48,7 @@
 #define CPM2_IRQ_PORTC15       48
 #define CPM2_IRQ_PORTC0                63
 
-static intctl_cpm2_t *cpm2_intctl;
+static intctl_cpm2_t __iomem *cpm2_intctl;
 
 static struct irq_host *cpm2_pic_host;
 #define NR_MASK_WORDS   ((NR_IRQS + 31) / 32)
@@ -266,7 +266,7 @@ void cpm2_pic_init(struct device_node *node)
        out_be32(&cpm2_intctl->ic_scprrl, 0x05309770);
 
        /* create a legacy host */
-       cpm2_pic_host = irq_alloc_host(of_node_get(node), IRQ_HOST_MAP_LINEAR,
+       cpm2_pic_host = irq_alloc_host(node, IRQ_HOST_MAP_LINEAR,
                                       64, &cpm2_pic_host_ops, 64);
        if (cpm2_pic_host == NULL) {
                printk(KERN_ERR "CPM2 PIC: failed to allocate irq host!\n");