diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 1efa0c862..ea6bca2f1 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c @@ -7261,7 +7261,7 @@ static void gr_gk20a_init_cyclestats(struct gk20a *g) #endif } -void gr_gk20a_bpt_reg_info(struct gk20a *g, struct warpstate *w_state) +static void gr_gk20a_bpt_reg_info(struct gk20a *g, struct warpstate *w_state) { /* Check if we have at least one valid warp */ struct gr_gk20a *gr = &g->gr; diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index d6f56d786..fcc3ed106 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c @@ -1050,7 +1050,7 @@ static void gr_gm20b_enable_cde_in_fecs(void *ctx_ptr) gk20a_mem_wr32(ctx_ptr + ctxsw_prog_main_image_ctl_o(), 0, cde_v); } -void gr_gm20b_bpt_reg_info(struct gk20a *g, struct warpstate *w_state) +static void gr_gm20b_bpt_reg_info(struct gk20a *g, struct warpstate *w_state) { /* Check if we have at least one valid warp */ /* get paused state on maxwell */