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/therm_gk20a.h | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/therm_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h index 3f67ee12..e670ec0e 100644 --- a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h @@ -1,9 +1,5 @@ /* - * drivers/video/tegra/host/gk20a/therm_gk20a.h - * - * GK20A Therm - * - * Copyright (c) 2011 - 2012, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2011 - 2014, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -14,12 +10,11 @@ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ -#ifndef _NVHOST_THERM_GK20A_H_ -#define _NVHOST_THERM_GK20A_H_ +#ifndef THERM_GK20A_H +#define THERM_GK20A_H /* priority for EXT_THERM_0 event set to highest */ #define NV_THERM_EVT_EXT_THERM_0_INIT 0x3000100 @@ -30,4 +25,4 @@ int gk20a_init_therm_support(struct gk20a *g); -#endif /* _NVHOST_THERM_GK20A_H_ */ +#endif /* THERM_GK20A_H */ -- cgit v1.2.2