irq_domain: Replace irq_alloc_host() with revmap-specific initializers
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / sysdev / tsi108_pci.c
index f3757236e6662b3013cfbbb070da8796514d06f9..1be26f4b9c962a74dda8adae6f3c581418af7eb0 100644 (file)
@@ -419,8 +419,7 @@ void __init tsi108_pci_int_init(struct device_node *node)
 {
        DBG("Tsi108_pci_int_init: initializing PCI interrupts\n");
 
-       pci_irq_host = irq_alloc_host(node, IRQ_DOMAIN_MAP_LEGACY,
-                                     0, &pci_irq_domain_ops, 0);
+       pci_irq_host = irq_domain_add_legacy(node, &pci_irq_domain_ops, NULL);
        if (pci_irq_host == NULL) {
                printk(KERN_ERR "pci_irq_host: failed to allocate irq domain!\n");
                return;