aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/pci.h')
-rw-r--r--include/asm-sparc/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc/pci.h b/include/asm-sparc/pci.h
index 2fd65db95e92..44bb38758c96 100644
--- a/include/asm-sparc/pci.h
+++ b/include/asm-sparc/pci.h
@@ -144,6 +144,7 @@ extern inline int pci_dma_supported(struct pci_dev *hwdev, u64 mask)
144 144
145#define pci_dac_dma_supported(dev, mask) (0) 145#define pci_dac_dma_supported(dev, mask) (0)
146 146
147#ifdef CONFIG_PCI
147static inline void pci_dma_burst_advice(struct pci_dev *pdev, 148static inline void pci_dma_burst_advice(struct pci_dev *pdev,
148 enum pci_dma_burst_strategy *strat, 149 enum pci_dma_burst_strategy *strat,
149 unsigned long *strategy_parameter) 150 unsigned long *strategy_parameter)
@@ -151,6 +152,7 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
151 *strat = PCI_DMA_BURST_INFINITY; 152 *strat = PCI_DMA_BURST_INFINITY;
152 *strategy_parameter = ~0UL; 153 *strategy_parameter = ~0UL;
153} 154}
155#endif
154 156
155static inline void pcibios_add_platform_entries(struct pci_dev *dev) 157static inline void pcibios_add_platform_entries(struct pci_dev *dev)
156{ 158{