X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fdma.h;h=7a4374bdbef48fa482e55682e92e3e8cc74fdfa0;hb=5351fb106a84d6ac584c2501e3b335093d38a58c;hp=926378d2cd94d9f4f45ad29dd106c24006bbf66d;hpb=dad2ad82c5f058367df79de022bd12d36afcd065;p=powerpc.git 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 */