mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:56:47 +07:00
4e5852f31a
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
22 lines
333 B
C
22 lines
333 B
C
#include <linux/pci.h>
|
|
|
|
int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
|
|
{
|
|
int irq;
|
|
|
|
if (!pin)
|
|
return 0;
|
|
|
|
irq = allocate_irqno();
|
|
if (irq < 0)
|
|
return 0;
|
|
|
|
return irq;
|
|
}
|
|
|
|
/* Do platform specific device initialization at pci_enable_device() time */
|
|
int pcibios_plat_dev_init(struct pci_dev *dev)
|
|
{
|
|
return 0;
|
|
}
|