summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/dma.h')
-rw-r--r--include/asm-ppc/dma.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/dma.h b/include/asm-ppc/dma.h
index 5cac2be5e..735d91d1f 100644
--- a/include/asm-ppc/dma.h
+++ b/include/asm-ppc/dma.h
@@ -6,6 +6,8 @@
* Changes for ppc sound by Christoph Nadig
*/
+#ifdef __KERNEL__
+
#include <linux/config.h>
#include <asm/io.h>
#include <linux/spinlock.h>
@@ -410,3 +412,4 @@ extern int isa_dma_bridge_buggy;
#define isa_dma_bridge_buggy (0)
#endif
#endif /* _ASM_DMA_H */
+#endif /* __KERNEL__ */