From 16f131eb5032b336e053e0548f23b556e840ace5 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 6 Jun 2018 12:57:35 -0700 Subject: gpu: nvgpu: Cosmetic changes to bus A few review comments got lost in the review of moving bus code to common/bus. This takes care of renaming the header file protection define, deletes the unnecessary description of the file in header, and updates copyright years. Change-Id: Ib7dfe3d8fdf31ff3ea1fbf96fc41f9e454486dd1 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1741824 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinod Gopalakrishnakurup Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/bus/bus_gp10b.c | 2 -- drivers/gpu/nvgpu/common/bus/bus_gp10b.h | 8 +++----- drivers/gpu/nvgpu/gp10b/mm_gp10b.h | 2 +- drivers/gpu/nvgpu/include/nvgpu/ptimer.h | 6 +++--- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/nvgpu/common/bus/bus_gp10b.c b/drivers/gpu/nvgpu/common/bus/bus_gp10b.c index 01e81069..86b548f2 100644 --- a/drivers/gpu/nvgpu/common/bus/bus_gp10b.c +++ b/drivers/gpu/nvgpu/common/bus/bus_gp10b.c @@ -1,6 +1,4 @@ /* - * GM20B MMU - * * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a diff --git a/drivers/gpu/nvgpu/common/bus/bus_gp10b.h b/drivers/gpu/nvgpu/common/bus/bus_gp10b.h index 0a356f15..a6848172 100644 --- a/drivers/gpu/nvgpu/common/bus/bus_gp10b.h +++ b/drivers/gpu/nvgpu/common/bus/bus_gp10b.h @@ -1,7 +1,5 @@ /* - * GM20B BUS - * - * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -22,8 +20,8 @@ * DEALINGS IN THE SOFTWARE. */ -#ifndef _NVGPU_GP10B_BUS -#define _NVGPU_GP10B_BUS +#ifndef NVGPU_BUS_GP10B +#define NVGPU_BUS_GP10B struct gk20a; struct nvgpu_mem; diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h index cf84f7cf..acd8645a 100644 --- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/drivers/gpu/nvgpu/include/nvgpu/ptimer.h b/drivers/gpu/nvgpu/include/nvgpu/ptimer.h index 6957bfbd..54c6b20c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/ptimer.h +++ b/drivers/gpu/nvgpu/include/nvgpu/ptimer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -19,8 +19,8 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ -#ifndef __NVGPU_BUS_H__ -#define __NVGPU_BUS_H__ +#ifndef NVGPU_PTIMER_H +#define NVGPU_PTIMER_H #include -- cgit v1.2.2