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>
This commit is contained in:
Ashish Garg 2017-05-30 10:31:12 +05:30
parent b7d425e951
commit 3b14e4b252

View file

@ -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;