From 719923ad9fa7c6b2ca68a25d1ce4518aab844bc2 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Mon, 29 Sep 2014 13:16:15 +0300 Subject: gpu: nvgpu: rename gpu ioctls and structs to nvgpu To help remove the nvhost dependency from nvgpu, rename ioctl defines and structures used by nvgpu such that nvhost is replaced by nvgpu. Duplicate some structures as needed. Update header guards and such accordingly. Change-Id: Ifc3a867713072bae70256502735583ab38381877 Signed-off-by: Konsta Holtta Reviewed-on: http://git-master/r/542620 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h index 49827608..27084c0d 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h @@ -15,8 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __DBG_GPU_GK20A_H_ -#define __DBG_GPU_GK20A_H_ +#ifndef DBG_GPU_GK20A_H +#define DBG_GPU_GK20A_H #include /* module debug driver interface */ @@ -33,7 +33,7 @@ void gk20a_dbg_gpu_post_events(struct channel_gk20a *fault_ch); struct dbg_gpu_session_ops { int (*exec_reg_ops)(struct dbg_session_gk20a *dbg_s, - struct nvhost_dbg_gpu_reg_op *ops, + struct nvgpu_dbg_gpu_reg_op *ops, u64 num_ops); }; @@ -80,4 +80,4 @@ struct dbg_session_gk20a { extern struct dbg_gpu_session_ops dbg_gpu_session_ops_gk20a; -#endif /* __DBG_GPU_GK20A_H_ */ +#endif /* DBG_GPU_GK20A_H */ -- cgit v1.2.2