gpu: nvgpu: mc: fix the header guards for hal files

Header guards in gp10b, gv11b and gv100 MC hal files were not as per
naming convention. Fix those.

JIRA NVGPU-4795

Change-Id: Ifc8c162e43242a5d221e5685ceecb02b76944a96
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2288031
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Sagar Kamble
2020-01-31 11:34:15 +05:30
committed by Alex Waterman
parent ded9241b1d
commit 992aaebfc4
3 changed files with 10 additions and 10 deletions

View File

@@ -20,8 +20,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef MC_GP10B_H
#define MC_GP10B_H
#ifndef NVGPU_MC_GP10B_H
#define NVGPU_MC_GP10B_H
#include <nvgpu/types.h>
@@ -53,4 +53,4 @@ void mc_gp10b_intr_nonstall_resume(struct gk20a *g);
void mc_gp10b_ltc_isr(struct gk20a *g);
/** @endcond DOXYGEN_SHOULD_SKIP_THIS */
#endif
#endif /* NVGPU_MC_GP10B_H */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2016-2020, 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"),
@@ -20,8 +20,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef MC_GV100_H
#define MC_GV100_H
#ifndef NVGPU_MC_GV100_H
#define NVGPU_MC_GV100_H
#include <nvgpu/types.h>
@@ -32,4 +32,4 @@ bool gv100_mc_is_stall_and_eng_intr_pending(struct gk20a *g, u32 engine_id,
u32 *eng_intr_pending);
u32 gv100_mc_reset_mask(struct gk20a *g, enum nvgpu_unit unit);
#endif
#endif /* NVGPU_MC_GV100_H */

View File

@@ -20,8 +20,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef MC_GV11B_H
#define MC_GV11B_H
#ifndef NVGPU_MC_GV11B_H
#define NVGPU_MC_GV11B_H
#include <nvgpu/types.h>
@@ -35,4 +35,4 @@ bool gv11b_mc_is_mmu_fault_pending(struct gk20a *g);
bool gv11b_mc_is_intr_hub_pending(struct gk20a *g, u32 mc_intr_0);
/** @endcond DOXYGEN_SHOULD_SKIP_THIS */
#endif
#endif /* NVGPU_MC_GV11B_H */