diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-04-08 12:20:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:19:57 -0400 |
commit | 85c246ee16fe00bf7bf9e7ff09a5d17d9a83cf71 (patch) | |
tree | 2f3503972979558abd5f9532992bb86ebbb6148e /arch/x86/kernel/pci-dma.c | |
parent | d741bde26dc3444eaeb269051d3f0b623b24de13 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r-- | arch/x86/kernel/pci-dma.c | 3 |
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 | ||
3 | const struct dma_mapping_ops *dma_ops; | ||
4 | EXPORT_SYMBOL(dma_ops); | ||
5 | |||
3 | int dma_set_mask(struct device *dev, u64 mask) | 6 | int 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)) |