diff options
| author | Ashish Garg <ashigarg@codeaurora.org> | 2017-05-30 10:31:12 +0530 |
|---|---|---|
| committer | Ashish Garg <ashigarg@codeaurora.org> | 2017-05-30 10:38:29 +0530 |
| commit | 3b14e4b25290c749dbb7eeb693b3597dba3a6868 (patch) | |
| tree | f911ace6e669a4d41ad9bf37a8fe1b803d6b16c9 | |
| parent | b7d425e951a3a3b662d6f7d019c69321ed680a5f (diff) | |
msm: mdss: declare function used only within the file as static
Fix sparse tool error which mandates that functions used only
within the file to be declared as static to allow compiler
optimizations.
Change-Id: Iba14c50730bb7ce402e4b45bc9b2c8d1fec6f3eb
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi.c b/drivers/video/fbdev/msm/mdss_dsi.c index 797c8b4a2eb1..d5caf0e6bb1c 100644 --- a/drivers/video/fbdev/msm/mdss_dsi.c +++ b/drivers/video/fbdev/msm/mdss_dsi.c @@ -1815,7 +1815,7 @@ static int mdss_dsi_post_panel_on(struct mdss_panel_data *pdata) return 0; } -irqreturn_t test_hw_vsync_handler(int irq, void *data) +static irqreturn_t test_hw_vsync_handler(int irq, void *data) { struct mdss_panel_data *pdata = (struct mdss_panel_data *)data; |
