x86: move definition to pci-dma.c

Move dma_ops structure definition to pci-dma.c, where it
belongs.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Glauber Costa
2008-04-08 13:20:50 -03:00
committed by Ingo Molnar
parent d741bde26d
commit 85c246ee16
3 changed files with 11 additions and 6 deletions

View File

@@ -1,5 +1,8 @@
#include <linux/dma-mapping.h>
const struct dma_mapping_ops *dma_ops;
EXPORT_SYMBOL(dma_ops);
int dma_set_mask(struct device *dev, u64 mask)
{
if (!dev->dma_mask || !dma_supported(dev, mask))