EDP: remove old system EDP framework (imx135 and ar0261 drivers)
[linux-3.10.git] / include / asm-generic / dma-contiguous.h
index c544356..294b1e7 100644 (file)
@@ -18,7 +18,7 @@ static inline void dev_set_cma_area(struct device *dev, struct cma *cma)
 {
        if (dev)
                dev->cma_area = cma;
-       if (!dev || !dma_contiguous_default_area)
+       if (!dev && !dma_contiguous_default_area)
                dma_contiguous_default_area = cma;
 }