Searched refs:fakedev (Results 1 – 1 of 1) sorted by relevance
161 struct pci_dev *fakedev; in cpqhp_set_irq() local165 fakedev = kmalloc(sizeof(*fakedev), GFP_KERNEL); in cpqhp_set_irq()167 if (!fakedev || !fakebus) { in cpqhp_set_irq()168 kfree(fakedev); in cpqhp_set_irq()173 fakedev->devfn = dev_num << 3; in cpqhp_set_irq()174 fakedev->bus = fakebus; in cpqhp_set_irq()178 rc = pcibios_set_irq_routing(fakedev, int_pin - 1, irq_num); in cpqhp_set_irq()179 kfree(fakedev); in cpqhp_set_irq()