X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fdma.h;h=7a4374bdbef48fa482e55682e92e3e8cc74fdfa0;hb=b242a60206881559bb3102110048762422e6b74e;hp=926378d2cd94d9f4f45ad29dd106c24006bbf66d;hpb=7211bb9b64f17b23834d91fc3d0c1d78671ee9a8;p=linux-2.6 diff --git a/include/asm-powerpc/dma.h b/include/asm-powerpc/dma.h index 926378d2cd..7a4374bdbe 100644 --- a/include/asm-powerpc/dma.h +++ b/include/asm-powerpc/dma.h @@ -1,5 +1,6 @@ #ifndef _ASM_POWERPC_DMA_H #define _ASM_POWERPC_DMA_H +#ifdef __KERNEL__ /* * Defines for using and allocating dma channels. @@ -21,7 +22,6 @@ * with a grain of salt. */ -#include #include #include #include @@ -387,4 +387,5 @@ extern int isa_dma_bridge_buggy; #endif /* !defined(CONFIG_PPC_ISERIES) || defined(CONFIG_PCI) */ +#endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_DMA_H */