aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-ev64120.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/pci-ev64120.c')
-rw-r--r--arch/mips/pci/pci-ev64120.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/mips/pci/pci-ev64120.c b/arch/mips/pci/pci-ev64120.c
new file mode 100644
index 000000000000..9cd859ef1842
--- /dev/null
+++ b/arch/mips/pci/pci-ev64120.c
@@ -0,0 +1,21 @@
1#include <linux/pci.h>
2
3int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
4{
5 int irq;
6
7 if (!pin)
8 return 0;
9
10 irq = allocate_irqno();
11 if (irq < 0)
12 return 0;
13
14 return irq;
15}
16
17/* Do platform specific device initialization at pci_enable_device() time */
18int pcibios_plat_dev_init(struct pci_dev *dev)
19{
20 return 0;
21}