From 31261ba8846c5e255a60df446a69fe3d07785440 Mon Sep 17 00:00:00 2001 From: Debarshi Dutta Date: Wed, 29 Nov 2017 13:04:13 +0530 Subject: [PATCH] gpu: nvgpu: files sim_gk20a.* are changed to sim.* The files sim_gk20a.c and sim_gk20a.h under common/linux/ are renamed to sim.c and sim.h as the suffix gk20a is not needed. JIRA NVGPU-386 Change-Id: I79bbb8e66c4b0cf53f2b1f98a7bed5f682106a0c Signed-off-by: Debarshi Dutta Reviewed-on: https://git-master.nvidia.com/r/1606975 Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/Makefile | 2 +- drivers/gpu/nvgpu/common/linux/module.c | 2 +- drivers/gpu/nvgpu/common/linux/{sim_gk20a.c => sim.c} | 2 +- drivers/gpu/nvgpu/common/linux/{sim_gk20a.h => sim.h} | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) rename drivers/gpu/nvgpu/common/linux/{sim_gk20a.c => sim.c} (99%) rename drivers/gpu/nvgpu/common/linux/{sim_gk20a.h => sim.h} (90%) diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index ef8237f3f..8a95065f4 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile @@ -48,7 +48,7 @@ nvgpu-y := \ common/linux/sched.o \ common/linux/channel.o \ common/linux/ce2.o \ - common/linux/sim_gk20a.o \ + common/linux/sim.o \ common/mm/nvgpu_allocator.o \ common/mm/bitmap_allocator.o \ common/mm/buddy_allocator.o \ diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c index 950b15811..4fe385887 100644 --- a/drivers/gpu/nvgpu/common/linux/module.c +++ b/drivers/gpu/nvgpu/common/linux/module.c @@ -47,7 +47,7 @@ #include "intr.h" #include "cde.h" #include "ioctl.h" -#include "sim_gk20a.h" +#include "sim.h" #ifdef CONFIG_TEGRA_19x_GPU #include "nvgpu_gpuid_t19x.h" #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION diff --git a/drivers/gpu/nvgpu/common/linux/sim_gk20a.c b/drivers/gpu/nvgpu/common/linux/sim.c similarity index 99% rename from drivers/gpu/nvgpu/common/linux/sim_gk20a.c rename to drivers/gpu/nvgpu/common/linux/sim.c index 6b148df6a..b7481784b 100644 --- a/drivers/gpu/nvgpu/common/linux/sim_gk20a.c +++ b/drivers/gpu/nvgpu/common/linux/sim.c @@ -22,7 +22,7 @@ #include #include "gk20a/gk20a.h" -#include "sim_gk20a.h" +#include "sim.h" #include diff --git a/drivers/gpu/nvgpu/common/linux/sim_gk20a.h b/drivers/gpu/nvgpu/common/linux/sim.h similarity index 90% rename from drivers/gpu/nvgpu/common/linux/sim_gk20a.h rename to drivers/gpu/nvgpu/common/linux/sim.h index c2d975b15..a9ec0dba5 100644 --- a/drivers/gpu/nvgpu/common/linux/sim_gk20a.h +++ b/drivers/gpu/nvgpu/common/linux/sim.h @@ -1,5 +1,4 @@ /* - * drivers/video/tegra/host/gk20a/sim_gk20a.h * * GK20A sim support * @@ -18,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef __SIM_GK20A_LINUX_H__ -#define __SIM_GK20A_LINUX_H__ +#ifndef __SIM_LINUX_H__ +#define __SIM_LINUX_H__ #include "gk20a/sim_gk20a.h"