diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h b/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h index 454dcb20..c4a6c08e 100644 --- a/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/ecc_gp10b.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #ifndef _NVGPU_ECC_GP10B_H_ | 16 | #ifndef _NVGPU_ECC_GP10B_H_ |
17 | #define _NVGPU_ECC_GP10B_H_ | 17 | #define _NVGPU_ECC_GP10B_H_ |
18 | 18 | ||
19 | #include <linux/version.h> | 19 | struct gk20a_ecc_stat; |
20 | 20 | ||
21 | struct ecc_gr_t18x { | 21 | struct ecc_gr_t18x { |
22 | struct gk20a_ecc_stat sm_lrf_single_err_count; | 22 | struct gk20a_ecc_stat sm_lrf_single_err_count; |
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c index 5cf5a644..b3026059 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -123,7 +123,7 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | static void gp10b_ltc_isr(struct gk20a *g) | 126 | void gp10b_ltc_isr(struct gk20a *g) |
127 | { | 127 | { |
128 | u32 mc_intr, ltc_intr; | 128 | u32 mc_intr, ltc_intr; |
129 | unsigned int ltc, slice; | 129 | unsigned int ltc, slice; |
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h index 7408348e..d7571c8d 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.h | |||
@@ -15,5 +15,6 @@ | |||
15 | #define LTC_GP10B_H | 15 | #define LTC_GP10B_H |
16 | struct gpu_ops; | 16 | struct gpu_ops; |
17 | 17 | ||
18 | void gp10b_ltc_isr(struct gk20a *g); | ||
18 | void gp10b_init_ltc(struct gpu_ops *gops); | 19 | void gp10b_init_ltc(struct gpu_ops *gops); |
19 | #endif | 20 | #endif |