mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
19 lines
349 B
C
19 lines
349 B
C
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
/*
|
||
|
* Copyright (C) 2020 Álvaro Fernández Rojas <noltari@gmail.com>
|
||
|
*/
|
||
|
|
||
|
#include <linux/pci.h>
|
||
|
|
||
|
int bmips_pci_irq = -1;
|
||
|
|
||
|
int pcibios_plat_dev_init(struct pci_dev *pci_dev)
|
||
|
{
|
||
|
return PCIBIOS_SUCCESSFUL;
|
||
|
}
|
||
|
|
||
|
int pcibios_map_irq(const struct pci_dev *pci_dev, u8 slot, u8 pin)
|
||
|
{
|
||
|
return bmips_pci_irq;
|
||
|
}
|