diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index 185d661e..b75420e6 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #define TEGRA_DDR4_BW_PER_FREQ 16 | 37 | #define TEGRA_DDR4_BW_PER_FREQ 16 |
38 | 38 | ||
39 | extern struct device tegra_vpr_dev; | 39 | extern struct device tegra_vpr_dev; |
40 | struct gk20a_platform t132_gk20a_tegra_platform; | 40 | static struct gk20a_platform t132_gk20a_tegra_platform; |
41 | 41 | ||
42 | struct gk20a_emc_params { | 42 | struct gk20a_emc_params { |
43 | long bw_ratio; | 43 | long bw_ratio; |
@@ -142,7 +142,7 @@ fail: | |||
142 | * This function returns the minimum emc clock based on gpu frequency | 142 | * This function returns the minimum emc clock based on gpu frequency |
143 | */ | 143 | */ |
144 | 144 | ||
145 | long gk20a_tegra_get_emc_rate(struct gk20a *g, | 145 | static long gk20a_tegra_get_emc_rate(struct gk20a *g, |
146 | struct gk20a_emc_params *emc_params, long freq) | 146 | struct gk20a_emc_params *emc_params, long freq) |
147 | { | 147 | { |
148 | long hz; | 148 | long hz; |
@@ -197,7 +197,7 @@ static void gk20a_tegra_prescale(struct platform_device *pdev) | |||
197 | * | 197 | * |
198 | */ | 198 | */ |
199 | 199 | ||
200 | void gk20a_tegra_calibrate_emc(struct platform_device *pdev, | 200 | static void gk20a_tegra_calibrate_emc(struct platform_device *pdev, |
201 | struct gk20a_emc_params *emc_params) | 201 | struct gk20a_emc_params *emc_params) |
202 | { | 202 | { |
203 | enum tegra_chipid cid = tegra_get_chipid(); | 203 | enum tegra_chipid cid = tegra_get_chipid(); |
@@ -271,7 +271,7 @@ static int gk20a_tegra_unrailgate(struct platform_device *pdev) | |||
271 | return ret; | 271 | return ret; |
272 | } | 272 | } |
273 | 273 | ||
274 | struct { | 274 | static struct { |
275 | char *name; | 275 | char *name; |
276 | unsigned long default_rate; | 276 | unsigned long default_rate; |
277 | } tegra_gk20a_clocks[] = { | 277 | } tegra_gk20a_clocks[] = { |
@@ -472,7 +472,7 @@ static int gk20a_tegra_suspend(struct device *dev) | |||
472 | return 0; | 472 | return 0; |
473 | } | 473 | } |
474 | 474 | ||
475 | struct gk20a_platform t132_gk20a_tegra_platform = { | 475 | static struct gk20a_platform t132_gk20a_tegra_platform = { |
476 | .has_syncpoints = true, | 476 | .has_syncpoints = true, |
477 | 477 | ||
478 | /* power management configuration */ | 478 | /* power management configuration */ |