提交 f612b0f6 编写于 作者: B Ben Skeggs

drm/nouveau/gr/gf100-: make some functions static

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 8869dff1
...@@ -741,7 +741,7 @@ gf100_gr_fecs_ctrl_ctxsw(struct gf100_gr *gr, u32 mthd) ...@@ -741,7 +741,7 @@ gf100_gr_fecs_ctrl_ctxsw(struct gf100_gr *gr, u32 mthd)
return -ETIMEDOUT; return -ETIMEDOUT;
} }
int static int
gf100_gr_fecs_start_ctxsw(struct nvkm_gr *base) gf100_gr_fecs_start_ctxsw(struct nvkm_gr *base)
{ {
struct gf100_gr *gr = gf100_gr(base); struct gf100_gr *gr = gf100_gr(base);
...@@ -756,7 +756,7 @@ gf100_gr_fecs_start_ctxsw(struct nvkm_gr *base) ...@@ -756,7 +756,7 @@ gf100_gr_fecs_start_ctxsw(struct nvkm_gr *base)
return ret; return ret;
} }
int static int
gf100_gr_fecs_stop_ctxsw(struct nvkm_gr *base) gf100_gr_fecs_stop_ctxsw(struct nvkm_gr *base)
{ {
struct gf100_gr *gr = gf100_gr(base); struct gf100_gr *gr = gf100_gr(base);
...@@ -2032,7 +2032,7 @@ gf100_gr_fini(struct nvkm_gr *base, bool suspend) ...@@ -2032,7 +2032,7 @@ gf100_gr_fini(struct nvkm_gr *base, bool suspend)
return 0; return 0;
} }
void * static void *
gf100_gr_dtor(struct nvkm_gr *base) gf100_gr_dtor(struct nvkm_gr *base)
{ {
struct gf100_gr *gr = gf100_gr(base); struct gf100_gr *gr = gf100_gr(base);
......
...@@ -33,7 +33,7 @@ struct gk20a_fw_av ...@@ -33,7 +33,7 @@ struct gk20a_fw_av
u32 data; u32 data;
}; };
int static int
gk20a_gr_av_to_init(struct gf100_gr *gr, const char *path, const char *name, gk20a_gr_av_to_init(struct gf100_gr *gr, const char *path, const char *name,
int ver, struct gf100_gr_pack **ppack) int ver, struct gf100_gr_pack **ppack)
{ {
...@@ -83,7 +83,7 @@ struct gk20a_fw_aiv ...@@ -83,7 +83,7 @@ struct gk20a_fw_aiv
u32 data; u32 data;
}; };
int static int
gk20a_gr_aiv_to_init(struct gf100_gr *gr, const char *path, const char *name, gk20a_gr_aiv_to_init(struct gf100_gr *gr, const char *path, const char *name,
int ver, struct gf100_gr_pack **ppack) int ver, struct gf100_gr_pack **ppack)
{ {
...@@ -126,7 +126,7 @@ gk20a_gr_aiv_to_init(struct gf100_gr *gr, const char *path, const char *name, ...@@ -126,7 +126,7 @@ gk20a_gr_aiv_to_init(struct gf100_gr *gr, const char *path, const char *name,
return ret; return ret;
} }
int static int
gk20a_gr_av_to_method(struct gf100_gr *gr, const char *path, const char *name, gk20a_gr_av_to_method(struct gf100_gr *gr, const char *path, const char *name,
int ver, struct gf100_gr_pack **ppack) int ver, struct gf100_gr_pack **ppack)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册