diff options
author | Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> | 2015-03-03 01:16:50 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:58:13 -0400 |
commit | 33d23f8a78d31c042d9b8e4879b158ed7e00926f (patch) | |
tree | f69c356c672e335d6417d8988c10cf7299bc41e9 /drivers/video/tegra/dc/dsi.c | |
parent | f84430762540aba35f0d7a7fe49d7304d68fab82 (diff) |
video: tegra: dc: make local function static
Fixed the following sparse warning by making the local function as static:
- window.c: warning: symbol 'tegra_dc_vrr_frame_time' was not declared.
Should it be static?
- dsi.c: warning: symbol 'tegra_dc_dsi_vrr_enable' was not declared.
Should it be static?
Bug 200067946
Change-Id: Ib1146e282e25ecb34c337b282c2b9b69b6e9b269
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/713015
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dsi.c')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 71ddf74d8..8479f69dc 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c | |||
@@ -5287,7 +5287,7 @@ skip_setup: | |||
5287 | return tegra_dc_pclk_round_rate(dc, dc->mode.pclk); | 5287 | return tegra_dc_pclk_round_rate(dc, dc->mode.pclk); |
5288 | } | 5288 | } |
5289 | 5289 | ||
5290 | void tegra_dc_dsi_vrr_enable(struct tegra_dc *dc, bool enable) | 5290 | static void tegra_dc_dsi_vrr_enable(struct tegra_dc *dc, bool enable) |
5291 | { | 5291 | { |
5292 | struct tegra_vrr *vrr = dc->out->vrr; | 5292 | struct tegra_vrr *vrr = dc->out->vrr; |
5293 | 5293 | ||