Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / mips / pci / fixup-ath79.c
blob09a4ce53424fdeed7193ca50cd5c2b550a6070c1
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Copyright (C) 2018 John Crispin <john@phrozen.org>
4 */
6 #include <linux/pci.h>
7 //#include <linux/of_irq.h>
8 #include <linux/of_pci.h>
10 int pcibios_plat_dev_init(struct pci_dev *dev)
12 return PCIBIOS_SUCCESSFUL;
15 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
17 return of_irq_parse_and_map_pci(dev, slot, pin);