diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-09-27 16:07:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-10 16:40:53 -0400 |
commit | b41e1417787aabf8e2d37f3259bce2a4ad041607 (patch) | |
tree | 37f21961bc128fc1136a3e34b73441f0c1b8baf4 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 4f56c88febf0cc8630ad75f184ada11a9d4894ed (diff) |
gpu: nvgpu: Declare gk20a_user_*init() in ioctl.h
The functions are gk20a_user_init() and gk20a_user_deinit() are
defined in ioctl.c. Move declaration of the functions to new
header file ioctl.h.
JIRA NVGPU-259
Change-Id: If348b51e9032083f252a7c7717ed7bc153dbba52
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1569696
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 51672b2f..131caa68 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1504,10 +1504,6 @@ int gk20a_wait_for_idle(struct gk20a *g); | |||
1504 | 1504 | ||
1505 | int gk20a_init_gpu_characteristics(struct gk20a *g); | 1505 | int gk20a_init_gpu_characteristics(struct gk20a *g); |
1506 | 1506 | ||
1507 | int gk20a_user_init(struct device *dev, const char *interface_name, | ||
1508 | struct class *class); | ||
1509 | void gk20a_user_deinit(struct device *dev, struct class *class); | ||
1510 | |||
1511 | static inline u32 ptimer_scalingfactor10x(u32 ptimer_src_freq) | 1507 | static inline u32 ptimer_scalingfactor10x(u32 ptimer_src_freq) |
1512 | { | 1508 | { |
1513 | return (u32)(((u64)(PTIMER_REF_FREQ_HZ * 10)) / ptimer_src_freq); | 1509 | return (u32)(((u64)(PTIMER_REF_FREQ_HZ * 10)) / ptimer_src_freq); |