]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/dma.h
ARM: OMAP2: Dynamic allocator for GPMC memory space
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / dma.h
index 926378d2cd94d9f4f45ad29dd106c24006bbf66d..4bb57fe370972cf5c77893bbca5f9de710d7ead8 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_DMA_H
 #define _ASM_POWERPC_DMA_H
+#ifdef __KERNEL__
 
 /*
  * Defines for using and allocating dma channels.
@@ -387,4 +388,5 @@ extern int isa_dma_bridge_buggy;
 
 #endif /* !defined(CONFIG_PPC_ISERIES) || defined(CONFIG_PCI) */
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_DMA_H */