irq_domain: Replace irq_alloc_host() with revmap-specific initializers
[deliverable/linux.git] / arch / powerpc / platforms / powermac / pic.c
index cff326ab8ef2db943ab285fdd25e9101bd811323..646fdf3b9c0c4b9cf4cdfa8f640244da679e5cf9 100644 (file)
@@ -352,9 +352,8 @@ static void __init pmac_pic_probe_oldstyle(void)
        /*
         * Allocate an irq host
         */
-       pmac_pic_host = irq_alloc_host(master, IRQ_DOMAIN_MAP_LINEAR, max_irqs,
-                                      &pmac_pic_host_ops,
-                                      max_irqs);
+       pmac_pic_host = irq_domain_add_linear(master, max_irqs,
+                                             &pmac_pic_host_ops, NULL);
        BUG_ON(pmac_pic_host == NULL);
        irq_set_default_host(pmac_pic_host);
 
This page took 0.031707 seconds and 5 git commands to generate.