fixup-ath79.c 380 B

123456789101112131415161718
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2018 John Crispin <[email protected]>
  4. */
  5. #include <linux/pci.h>
  6. //#include <linux/of_irq.h>
  7. #include <linux/of_pci.h>
  8. int pcibios_plat_dev_init(struct pci_dev *dev)
  9. {
  10. return PCIBIOS_SUCCESSFUL;
  11. }
  12. int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
  13. {
  14. return of_irq_parse_and_map_pci(dev, slot, pin);
  15. }