gpu: nvgpu: Use correct GPL for swprofile_debugfs.[ch]

These two files were not using the correct GPL license format
for the nvgpu Linux OS code. Corretc this.

Also fix the header guard define in swprofile_debugfs.h since
it did not quite match the header file name.

Bug

Change-Id: I317056823cade697fdf65f9ff83306129ee0ebe3
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2374698
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Alex Waterman
2020-07-13 10:51:57 -05:00
parent 8a9acf8a7e
commit 12e71f22f8
2 changed files with 24 additions and 19 deletions

View File

@@ -1,15 +1,17 @@
/* /*
* Copyright (C) 2020 NVIDIA Corporation. All rights reserved. * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
* *
* This software is licensed under the terms of the GNU General Public * This program is free software; you can redistribute it and/or modify it
* License version 2, as published by the Free Software Foundation, and * under the terms and conditions of the GNU General Public License,
* may be copied, distributed, and modified under those terms. * version 2, as published by the Free Software Foundation.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope it will be useful, but WITHOUT
* but WITHOUT ANY WARRANTY; without even the implied warranty of * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* GNU General Public License for more details. * more details.
* *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <linux/debugfs.h> #include <linux/debugfs.h>

View File

@@ -1,18 +1,21 @@
/* /*
* Copyright (C) 2020 NVIDIA Corporation. All rights reserved. * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
* *
* This software is licensed under the terms of the GNU General Public * This program is free software; you can redistribute it and/or modify it
* License version 2, as published by the Free Software Foundation, and * under the terms and conditions of the GNU General Public License,
* may be copied, distributed, and modified under those terms. * version 2, as published by the Free Software Foundation.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope it will be useful, but WITHOUT
* but WITHOUT ANY WARRANTY; without even the implied warranty of * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* GNU General Public License for more details. * more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __NVGPU_PROFILE_DEBUGFS_H__ #ifndef __NVGPU_SWPROFILE_DEBUGFS_H__
#define __NVGPU_PROFILE_DEBUGFS_H__ #define __NVGPU_SWPROFILE_DEBUGFS_H__
struct dentry; struct dentry;
@@ -24,4 +27,4 @@ void nvgpu_debugfs_swprofile_init(struct gk20a *g,
struct nvgpu_swprofiler *p, struct nvgpu_swprofiler *p,
const char *name); const char *name);
#endif /* __NVGPU_PROFILE_DEBUGFS_H__ */ #endif /* __NVGPU_SWPROFILE_DEBUGFS_H__ */