aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-frv
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv')
-rw-r--r--include/asm-frv/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-frv/pci.h b/include/asm-frv/pci.h
index 13427240664f..b4efe5e3591a 100644
--- a/include/asm-frv/pci.h
+++ b/include/asm-frv/pci.h
@@ -57,6 +57,7 @@ extern void pci_free_consistent(struct pci_dev *hwdev, size_t size,
57 */ 57 */
58#define PCI_DMA_BUS_IS_PHYS (1) 58#define PCI_DMA_BUS_IS_PHYS (1)
59 59
60#ifdef CONFIG_PCI
60static inline void pci_dma_burst_advice(struct pci_dev *pdev, 61static inline void pci_dma_burst_advice(struct pci_dev *pdev,
61 enum pci_dma_burst_strategy *strat, 62 enum pci_dma_burst_strategy *strat,
62 unsigned long *strategy_parameter) 63 unsigned long *strategy_parameter)
@@ -64,6 +65,7 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
64 *strat = PCI_DMA_BURST_INFINITY; 65 *strat = PCI_DMA_BURST_INFINITY;
65 *strategy_parameter = ~0UL; 66 *strategy_parameter = ~0UL;
66} 67}
68#endif
67 69
68/* 70/*
69 * These are pretty much arbitary with the CoMEM implementation. 71 * These are pretty much arbitary with the CoMEM implementation.