summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index c0b847e5..94b8d157 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -19,6 +19,8 @@
19#include <linux/device.h> 19#include <linux/device.h>
20#include <linux/dma-attrs.h> 20#include <linux/dma-attrs.h>
21 21
22#define GK20A_CLKS_MAX 4
23
22struct gk20a; 24struct gk20a;
23struct channel_gk20a; 25struct channel_gk20a;
24struct gr_ctx_buffer_desc; 26struct gr_ctx_buffer_desc;
@@ -65,7 +67,7 @@ struct gk20a_platform {
65 67
66 /* Clock configuration is stored here. Platform probe is responsible 68 /* Clock configuration is stored here. Platform probe is responsible
67 * for filling this data. */ 69 * for filling this data. */
68 struct clk *clk[3]; 70 struct clk *clk[GK20A_CLKS_MAX];
69 int num_clks; 71 int num_clks;
70 72
71#ifdef CONFIG_RESET_CONTROLLER 73#ifdef CONFIG_RESET_CONTROLLER