summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pci.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 13:30:16 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:16 +0100
commit376ff0352c24a5fa47f1250dd60937b5a9077672 (patch)
tree7f5b8a260e2eb65eb9e71aa0639f7ef4825d4a40 /include/asm-x86/pci.h
parentx86: remove duplicated declarations (diff)
downloadlinux-376ff0352c24a5fa47f1250dd60937b5a9077672.tar.xz
linux-376ff0352c24a5fa47f1250dd60937b5a9077672.zip
x86: move acpi and pci declarations
Move acpi/pci related declarations to the correct headers and remove the duplicate. Build fix from: Andrew Morton Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/pci.h')
-rw-r--r--include/asm-x86/pci.h4
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,
#ifdef CONFIG_PCI
+extern void early_quirks(void);
static inline void pci_dma_burst_advice(struct pci_dev *pdev,
enum pci_dma_burst_strategy *strat,
unsigned long *strategy_parameter)
@@ -73,9 +74,10 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
*strat = PCI_DMA_BURST_INFINITY;
*strategy_parameter = ~0UL;
}
+#else
+static inline void early_quirks(void) { }
#endif
-
#endif /* __KERNEL__ */
#ifdef CONFIG_X86_32