diff options
Diffstat (limited to 'include/asm-x86/pci.h')
-rw-r--r-- | include/asm-x86/pci.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/pci.h b/include/asm-x86/pci.h index e88361966347..6983730d86fd 100644 --- a/include/asm-x86/pci.h +++ b/include/asm-x86/pci.h | |||
@@ -66,6 +66,7 @@ extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
66 | 66 | ||
67 | 67 | ||
68 | #ifdef CONFIG_PCI | 68 | #ifdef CONFIG_PCI |
69 | extern void early_quirks(void); | ||
69 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | 70 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, |
70 | enum pci_dma_burst_strategy *strat, | 71 | enum pci_dma_burst_strategy *strat, |
71 | unsigned long *strategy_parameter) | 72 | unsigned long *strategy_parameter) |
@@ -73,9 +74,10 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, | |||
73 | *strat = PCI_DMA_BURST_INFINITY; | 74 | *strat = PCI_DMA_BURST_INFINITY; |
74 | *strategy_parameter = ~0UL; | 75 | *strategy_parameter = ~0UL; |
75 | } | 76 | } |
77 | #else | ||
78 | static inline void early_quirks(void) { } | ||
76 | #endif | 79 | #endif |
77 | 80 | ||
78 | |||
79 | #endif /* __KERNEL__ */ | 81 | #endif /* __KERNEL__ */ |
80 | 82 | ||
81 | #ifdef CONFIG_X86_32 | 83 | #ifdef CONFIG_X86_32 |