gpu: nvgpu: Fix MISRA 8.3 function type mismatch

There are places where function prototypes have been declared
using typedef. These are being considered as type mismatch
and flagged as MISRA rule 8.3 violations. This patch will
fix such cases by removing typedef for function declarations.

JIRA NVGPU-847

Change-Id: Ide72c53d7f3a2d8d5f088c42d8e0318b04d2e9be
Signed-off-by: Srirangan Madhavan <smadhavan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1937858
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Srirangan Madhavan
2018-10-28 12:51:34 +05:30
committed by mobile promotions
parent def687d4df
commit c155c408de
7 changed files with 137 additions and 110 deletions

View File

@@ -43,8 +43,11 @@ struct boardobjgrp_e255 {
/* Constructor and destructor */
int boardobjgrpconstruct_e255(struct gk20a *g,
struct boardobjgrp_e255 *pboardobjgrp);
boardobjgrp_destruct boardobjgrpdestruct_e255;
boardobjgrp_pmuhdrdatainit boardobjgrp_pmuhdrdatainit_e255;
struct boardobjgrp_e255 *pboardobjgrp_e255);
int boardobjgrpdestruct_e255(struct boardobjgrp *pboardobjgrp);
int boardobjgrp_pmuhdrdatainit_e255(struct gk20a *g,
struct boardobjgrp *pboardobjgrp,
struct nv_pmu_boardobjgrp_super *pboardobjgrppmu,
struct boardobjgrpmask *mask);
#endif /* NVGPU_BOARDOBJGRP_E255_H */