summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-08-27 07:17:08 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-31 00:43:01 -0400
commit79b10cbcf7d1544dd5acfda6ba1ab79c4c855377 (patch)
tree8de531fb3aee179aae762aa989875edb18432ac7 /drivers/gpu/nvgpu/os
parent16ef96d4de646a97cee250b1e178f15d5e0909c3 (diff)
gpu: nvgpu: fix channel include guards
The common channel header was missing include guards, so add them. Also rename the Linux channel header guard that was in conflict. Jira NVGPU-967 Change-Id: If782407ef1497202196a362893ef9c1b2330977a Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1807372 Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os')
-rw-r--r--drivers/gpu/nvgpu/os/linux/channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/channel.h b/drivers/gpu/nvgpu/os/linux/channel.h
index 87231a79..2210678d 100644
--- a/drivers/gpu/nvgpu/os/linux/channel.h
+++ b/drivers/gpu/nvgpu/os/linux/channel.h
@@ -13,8 +13,8 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#ifndef __NVGPU_CHANNEL_H__ 16#ifndef NVGPU_LINUX_CHANNEL_H
17#define __NVGPU_CHANNEL_H__ 17#define NVGPU_LINUX_CHANNEL_H
18 18
19#include <linux/workqueue.h> 19#include <linux/workqueue.h>
20#include <linux/dma-buf.h> 20#include <linux/dma-buf.h>
@@ -84,4 +84,4 @@ struct channel_gk20a *gk20a_open_new_channel_with_cb(struct gk20a *g,
84 int runlist_id, 84 int runlist_id,
85 bool is_privileged_channel); 85 bool is_privileged_channel);
86 86
87#endif /* __NVGPU_CHANNEL_H__ */ 87#endif