]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/misc/mei/pci-me.c
mei: me: store irq number in the hw struct.
[linux.git] / drivers / misc / mei / pci-me.c
index ce43415a536cab031f0b189409a9d246365e17a4..6233b3ca1c1dabba46f7d0c4097a4a58a89d47dd 100644 (file)
@@ -192,13 +192,14 @@ static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
        }
 
        /* allocates and initializes the mei dev structure */
-       dev = mei_me_dev_init(pdev, cfg);
+       dev = mei_me_dev_init(&pdev->dev, cfg);
        if (!dev) {
                err = -ENOMEM;
                goto end;
        }
        hw = to_me_hw(dev);
        hw->mem_addr = pcim_iomap_table(pdev)[0];
+       hw->irq = pdev->irq;
 
        pci_enable_msi(pdev);