summaryrefslogtreecommitdiff
path: root/include/linux/dma-mapping.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-07-09 07:16:25 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2004-07-09 07:16:25 -0500
commit053b945d2f85db8fb22773e91ea624b511b1694a (patch)
tree94904ede31c9d076e19fa13f12241da8d8dd7d84 /include/linux/dma-mapping.h
parent6522176763bae486e41be069b8a565f8d2509663 (diff)
[PATCH] Fix sparc compile error in dma-mapping.h
William Lee Irwin III <wli@holomorphy.com> wrote: > > SPLIT include/linux/autoconf.h -> include/config/* > CHK include/linux/compile.h > UPD include/linux/compile.h > In file included from include/asm/sbus.h:10, > from arch/sparc64/kernel/auxio.c:15: It needs err.h. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux/dma-mapping.h')
-rw-r--r--include/linux/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index 4ee5a1c03361..4d68f7cf9d3e 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -1,6 +1,8 @@
#ifndef _ASM_LINUX_DMA_MAPPING_H
#define _ASM_LINUX_DMA_MAPPING_H
+#include <linux/err.h>
+
/* These definitions mirror those in pci.h, so they can be used
* interchangeably with their PCI_ counterparts */
enum dma_data_direction {