From c4ac750e985dddebe25308c7f9bd0a27a98feaa8 Mon Sep 17 00:00:00 2001 From: smadhavan Date: Wed, 5 Sep 2018 12:50:15 +0530 Subject: nvgpu: gk20a: MISRA Rule 21.2 header guard fixes MISRA rule 21.2 doesn't allow the use of macro names which start with an underscore. These leading underscores are to be removed from the macro names. This patch will fix such violations caused by include guards by renaming them to follow the convention, 'NVGPU_PARENT-DIR_HEADER_H' JIRA NVGPU-1028 Change-Id: I478be317d067a75cdc8cb7fe9577a66d06318a11 Signed-off-by: smadhavan Reviewed-on: https://git-master.nvidia.com/r/1813068 GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta Reviewed-by: Adeel Raza Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/flcn_gk20a.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/flcn_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h b/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h index 7f7ee89e..9d27b383 100644 --- a/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h @@ -19,11 +19,11 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ -#ifndef __FLCN_GK20A_H__ -#define __FLCN_GK20A_H__ +#ifndef NVGPU_GK20A_FLCN_GK20A_H +#define NVGPU_GK20A_FLCN_GK20A_H void gk20a_falcon_ops(struct nvgpu_falcon *flcn); int gk20a_falcon_hal_sw_init(struct nvgpu_falcon *flcn); void gk20a_falcon_dump_stats(struct nvgpu_falcon *flcn); -#endif /* __FLCN_GK20A_H__ */ +#endif /* NVGPU_GK20A_FLCN_GK20A_H */ -- cgit v1.2.2