diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.c')
-rw-r--r-- | drivers/gpu/nvgpu/pstate/pstate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/pstate/pstate.c b/drivers/gpu/nvgpu/pstate/pstate.c index 3110239a..791832cb 100644 --- a/drivers/gpu/nvgpu/pstate/pstate.c +++ b/drivers/gpu/nvgpu/pstate/pstate.c | |||
@@ -172,7 +172,7 @@ int gk20a_init_pstate_pmu_support(struct gk20a *g) | |||
172 | return err; | 172 | return err; |
173 | } | 173 | } |
174 | 174 | ||
175 | int pstate_construct_super(struct gk20a *g, struct boardobj **ppboardobj, | 175 | static int pstate_construct_super(struct gk20a *g, struct boardobj **ppboardobj, |
176 | u16 size, void *args) | 176 | u16 size, void *args) |
177 | { | 177 | { |
178 | struct pstate *ptmppstate = (struct pstate *)args; | 178 | struct pstate *ptmppstate = (struct pstate *)args; |
@@ -192,7 +192,7 @@ int pstate_construct_super(struct gk20a *g, struct boardobj **ppboardobj, | |||
192 | return 0; | 192 | return 0; |
193 | } | 193 | } |
194 | 194 | ||
195 | int pstate_construct_3x(struct gk20a *g, struct boardobj **ppboardobj, | 195 | static int pstate_construct_3x(struct gk20a *g, struct boardobj **ppboardobj, |
196 | u16 size, void *args) | 196 | u16 size, void *args) |
197 | { | 197 | { |
198 | struct boardobj *ptmpobj = (struct boardobj *)args; | 198 | struct boardobj *ptmpobj = (struct boardobj *)args; |
@@ -201,7 +201,7 @@ int pstate_construct_3x(struct gk20a *g, struct boardobj **ppboardobj, | |||
201 | return pstate_construct_super(g, ppboardobj, size, args); | 201 | return pstate_construct_super(g, ppboardobj, size, args); |
202 | } | 202 | } |
203 | 203 | ||
204 | struct pstate *pstate_construct(struct gk20a *g, void *args) | 204 | static struct pstate *pstate_construct(struct gk20a *g, void *args) |
205 | { | 205 | { |
206 | struct pstate *pstate = NULL; | 206 | struct pstate *pstate = NULL; |
207 | struct pstate *tmp = (struct pstate *)args; | 207 | struct pstate *tmp = (struct pstate *)args; |
@@ -215,7 +215,7 @@ struct pstate *pstate_construct(struct gk20a *g, void *args) | |||
215 | return pstate; | 215 | return pstate; |
216 | } | 216 | } |
217 | 217 | ||
218 | int pstate_insert(struct gk20a *g, struct pstate *pstate, int index) | 218 | static int pstate_insert(struct gk20a *g, struct pstate *pstate, int index) |
219 | { | 219 | { |
220 | struct pstates *pstates = &(g->perf_pmu.pstatesobjs); | 220 | struct pstates *pstates = &(g->perf_pmu.pstatesobjs); |
221 | int err; | 221 | int err; |