mm, CMA: change cma_declare_contiguous() to obey coding convention
[firefly-linux-kernel-4.4.55.git] / drivers / base / dma-contiguous.c
index 0411c1c57005cce63dffc71e047c5372c86da8fe..6606abdf880c816ce407c486fbabcc27d602cef9 100644 (file)
@@ -165,7 +165,7 @@ int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base,
 {
        int ret;
 
-       ret = cma_declare_contiguous(size, base, limit, 0, 0, res_cma, fixed);
+       ret = cma_declare_contiguous(base, size, limit, 0, 0, fixed, res_cma);
        if (ret)
                return ret;