]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/sysdev/tsi108_pci.c
KVM: ppc: adds trace points for ppc tlb activity
[linux-2.6-omap-h63xx.git] / arch / powerpc / sysdev / tsi108_pci.c
index ac1a72dc21e576b51a849aa540fad165568481b2..24e1f5a197ae31d3de4377a23e936449072e5e80 100644 (file)
@@ -426,11 +426,10 @@ 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(of_node_get(node), IRQ_HOST_MAP_LEGACY,
+       pci_irq_host = irq_alloc_host(node, IRQ_HOST_MAP_LEGACY,
                                      0, &pci_irq_host_ops, 0);
        if (pci_irq_host == NULL) {
                printk(KERN_ERR "pci_irq_host: failed to allocate irq host !\n");
-               of_node_put(node);
                return;
        }