[ARM] 3942/1: ARM: comment: consistent_sync should not be called directly
[sfrench/cifs-2.6.git] / include / asm-arm / dma-mapping.h
index 63ca7412a4623984777fcbec72bff0dfa32cacb1..666617711c81d259745ba2b0dc12d935c4d4fb0a 100644 (file)
@@ -3,7 +3,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 #include <linux/mm.h> /* need struct page */
 
 #include <asm/scatterlist.h>
  * uncached, unwrite-buffered mapped memory space for use with DMA
  * devices.  This is the "generic" version.  The PCI specific version
  * is in pci.h
+ *
+ * Note: Drivers should NOT use this function directly, as it will break
+ * platforms with CONFIG_DMABOUNCE.
+ * Use the driver DMA support - see dma-mapping.h (dma_sync_*)
  */
 extern void consistent_sync(void *kaddr, size_t size, int rw);