Searched refs:fakedev (Results 1 – 1 of 1) sorted by relevance
159 struct pci_dev *fakedev; in cpqhp_set_irq() local163 fakedev = kmalloc(sizeof(*fakedev), GFP_KERNEL); in cpqhp_set_irq()165 if (!fakedev || !fakebus) { in cpqhp_set_irq()166 kfree(fakedev); in cpqhp_set_irq()171 fakedev->devfn = dev_num << 3; in cpqhp_set_irq()172 fakedev->bus = fakebus; in cpqhp_set_irq()176 rc = pcibios_set_irq_routing(fakedev, int_pin - 1, irq_num); in cpqhp_set_irq()177 kfree(fakedev); in cpqhp_set_irq()