Change parameter name 69/65569/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 30 Mar 2016 10:32:24 +0000 (19:32 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 11 Apr 2016 02:22:36 +0000 (11:22 +0900)
Change-Id: I072798f479a970b2ff6933e65dcf6581704859f9

src/tbm_bufmgr_exynos.c

index 894b3e5..3017946 100644 (file)
@@ -397,7 +397,7 @@ _exynos_cache_flush(tbm_bufmgr_exynos bufmgr_exynos, tbm_bo_exynos bo_exynos, in
 #endif
 
 static int
-_bo_init_cache_state(tbm_bufmgr_exynos bufmgr_exynos, tbm_bo_exynos bo_exynos, int flag)
+_bo_init_cache_state(tbm_bufmgr_exynos bufmgr_exynos, tbm_bo_exynos bo_exynos, int import)
 {
 #ifdef ENABLE_CACHECRTL
        EXYNOS_RETURN_VAL_IF_FAIL(bufmgr_exynos != NULL, 0);
@@ -410,7 +410,7 @@ _bo_init_cache_state(tbm_bufmgr_exynos bufmgr_exynos, tbm_bo_exynos bo_exynos, i
 
        _tgl_init(bufmgr_exynos->tgl_fd, bo_exynos->name);
 
-       if (flag == 0) {
+       if (import == 0) {
                cache_state.data.isDirtied = DEVICE_NONE;
                cache_state.data.isCached = 0;
                cache_state.data.cntFlush = 0;