summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/dbdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/dbdma.h')
-rw-r--r--include/asm-ppc/dbdma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/dbdma.h b/include/asm-ppc/dbdma.h
index 38cd15803..0590cb454 100644
--- a/include/asm-ppc/dbdma.h
+++ b/include/asm-ppc/dbdma.h
@@ -5,6 +5,7 @@
* Copyright (C) 1996 Paul Mackerras.
*/
+#ifdef __KERNEL__
#ifndef _ASM_DBDMA_H_
#define _ASM_DBDMA_H_
/*
@@ -90,3 +91,4 @@ struct dbdma_cmd {
#define DBDMA_ALIGN(x) (((unsigned)(x) + sizeof(struct dbdma_cmd) - 1) \
& -sizeof(struct dbdma_cmd))
#endif /* _ASM_DBDMA_H_ */
+#endif /* __KERNEL__ */