xref: /linux/arch/mips/pci/fixup-lantiq.c (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  *
4  *  Copyright (C) 2012 John Crispin <john@phrozen.org>
5  */
6 
7 #include <linux/of_pci.h>
8 #include <linux/pci.h>
9 
pcibios_plat_dev_init(struct pci_dev * dev)10 int pcibios_plat_dev_init(struct pci_dev *dev)
11 {
12 	return 0;
13 }
14 
pcibios_map_irq(const struct pci_dev * dev,u8 slot,u8 pin)15 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
16 {
17 	return of_irq_parse_and_map_pci(dev, slot, pin);
18 }
19