summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/ioport.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 18:01:36 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-29 02:13:14 -0700
commit944c67dff7a88f0a775e5b604937f9e30d2de555 (patch)
tree38566c48f3f002c3f1f9d77da3d8b12543bee1c7 /arch/sparc/kernel/ioport.c
parent260489fa8a9735c76073ace95f03ffaf10cca884 (diff)
sparc32: Implement more generic dma_*() interfaces.
These dispatch to either PCI or SBUS routines based upon the device bus type. This will allow us to let SBUS drivers call these routines. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ioport.c')
-rw-r--r--arch/sparc/kernel/ioport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c
index 11dccf945153..0b3035978e0d 100644
--- a/arch/sparc/kernel/ioport.c
+++ b/arch/sparc/kernel/ioport.c
@@ -49,6 +49,8 @@
#include <asm/iommu.h>
#include <asm/io-unit.h>
+#include "dma.h"
+
#define mmu_inval_dma_area(p, l) /* Anton pulled it out for 2.4.0-xx */
static struct resource *_sparc_find_resource(struct resource *r,