From 97baee7170099dac2ce5671d3bb9cb364194b052 Mon Sep 17 00:00:00 2001 From: Jammy Zhou Date: Tue, 21 Jul 2015 17:02:44 +0800 Subject: [PATCH] drm/amdgpu: fix some typo for cgs definitions Signed-off-by: Jammy Zhou Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/include/cgs_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h index d586c24a3d31..582e75da1504 100644 --- a/drivers/gpu/drm/amd/include/cgs_common.h +++ b/drivers/gpu/drm/amd/include/cgs_common.h @@ -545,7 +545,7 @@ struct cgs_device CGS_CALL(gpu_mem_info,dev,type,mc_start,mc_size,mem_size) #define cgs_gmap_kmem(dev,kmem,size,min_off,max_off,kmem_handle,mcaddr) \ CGS_CALL(gmap_kmem,dev,kmem,size,min_off,max_off,kmem_handle,mcaddr) -#define cgs_gummap_kmem(dev,kmem_handle) \ +#define cgs_gunmap_kmem(dev,kmem_handle) \ CGS_CALL(gunmap_kmem,dev,keme_handle) #define cgs_alloc_gpu_mem(dev,type,size,align,min_off,max_off,handle) \ CGS_CALL(alloc_gpu_mem,dev,type,size,align,min_off,max_off,handle) @@ -553,7 +553,7 @@ struct cgs_device CGS_CALL(free_gpu_mem,dev,handle) #define cgs_gmap_gpu_mem(dev,handle,mcaddr) \ CGS_CALL(gmap_gpu_mem,dev,handle,mcaddr) -#define cgs_gummap_gpu_mem(dev,handle) \ +#define cgs_gunmap_gpu_mem(dev,handle) \ CGS_CALL(gunmap_gpu_mem,dev,handle) #define cgs_kmap_gpu_mem(dev,handle,map) \ CGS_CALL(kmap_gpu_mem,dev,handle,map) -- 2.20.1