X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fdma.h;h=7a4374bdbef48fa482e55682e92e3e8cc74fdfa0;hb=1115200a3df64d6925bc94b404039e7082409af4;hp=926378d2cd94d9f4f45ad29dd106c24006bbf66d;hpb=c7fb577e2a6cb04732541f2dc402bd46747f7558;p=mv-sheeva.git diff --git a/include/asm-powerpc/dma.h b/include/asm-powerpc/dma.h index 926378d2cd9..7a4374bdbef 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 */