summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/pci.h')
-rw-r--r--arch/riscv/include/asm/pci.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/riscv/include/asm/pci.h b/arch/riscv/include/asm/pci.h
index 7fd52a30e605..a7b8f0d0df7f 100644
--- a/arch/riscv/include/asm/pci.h
+++ b/arch/riscv/include/asm/pci.h
@@ -23,12 +23,6 @@
extern int isa_dma_bridge_buggy;
#ifdef CONFIG_PCI
-static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
-{
- /* no legacy IRQ on risc-v */
- return -ENODEV;
-}
-
static inline int pci_proc_domain(struct pci_bus *bus)
{
/* always show the domain in /proc */