]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/dma-mapping.h
x86-32: Introduce CONFIG_X86_DEV_DMA_OPS
[karo-tx-linux.git] / arch / x86 / include / asm / dma-mapping.h
index 4b4331d71935c7cf0d477e1c3a06b93072e4b463..09aa473e291749c77675b0ec6c4e7054a6dba7c7 100644 (file)
@@ -30,7 +30,7 @@ extern struct dma_map_ops *dma_ops;
 
 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
 {
-#ifdef CONFIG_X86_32
+#ifndef CONFIG_X86_DEV_DMA_OPS
        return dma_ops;
 #else
        if (unlikely(!dev) || !dev->archdata.dma_ops)