Patchwork sparc32: Export leon_dma_ops to modules.

login
register
mail settings
Submitter David Miller
Date May 28, 2012, 7:12 a.m.
Message ID <20120528.031208.779922094210485625.davem@davemloft.net>
Download mbox | patch
Permalink /patch/161589/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - May 28, 2012, 7:12 a.m.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 arch/sparc/kernel/ioport.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c
index f00945b..0f094db 100644
--- a/arch/sparc/kernel/ioport.c
+++ b/arch/sparc/kernel/ioport.c
@@ -652,8 +652,9 @@  EXPORT_SYMBOL(pci32_dma_ops);
 
 /* leon re-uses pci32_dma_ops */
 struct dma_map_ops *leon_dma_ops = &pci32_dma_ops;
-struct dma_map_ops *dma_ops = &sbus_dma_ops;
+EXPORT_SYMBOL(leon_dma_ops);
 
+struct dma_map_ops *dma_ops = &sbus_dma_ops;
 EXPORT_SYMBOL(dma_ops);