1ff4a7481SKuninori Morimoto // SPDX-License-Identifier: GPL-2.0
25283ecb5SPaul Mundt /*
35283ecb5SPaul Mundt  * arch/sh/drivers/pci/fixups-r7780rp.c
45283ecb5SPaul Mundt  *
55283ecb5SPaul Mundt  * Highlander R7780RP-1 PCI fixups
65283ecb5SPaul Mundt  *
75283ecb5SPaul Mundt  * Copyright (C) 2003  Lineo uSolutions, Inc.
8959f85f8SPaul Mundt  * Copyright (C) 2004 - 2006  Paul Mundt
95283ecb5SPaul Mundt  */
10959f85f8SPaul Mundt #include <linux/pci.h>
11a6d377b6SPaul Mundt #include <linux/io.h>
1258796ce6SPaul Mundt #include <linux/sh_intc.h>
13959f85f8SPaul Mundt #include "pci-sh4.h"
145283ecb5SPaul Mundt 
pcibios_map_platform_irq(const struct pci_dev * pdev,u8 slot,u8 pin)152b8ff9f2SMatthew Minter int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
16a6d377b6SPaul Mundt {
1758796ce6SPaul Mundt 	return evt2irq(0xa20) + slot;
18a6d377b6SPaul Mundt }
19