aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r--arch/x86/kernel/pci-dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index f1c24d8e7942..1323cd80387b 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -1,5 +1,8 @@
1#include <linux/dma-mapping.h> 1#include <linux/dma-mapping.h>
2 2
3const struct dma_mapping_ops *dma_ops;
4EXPORT_SYMBOL(dma_ops);
5
3int dma_set_mask(struct device *dev, u64 mask) 6int dma_set_mask(struct device *dev, u64 mask)
4{ 7{
5 if (!dev->dma_mask || !dma_supported(dev, mask)) 8 if (!dev->dma_mask || !dma_supported(dev, mask))