From 3b14e4b25290c749dbb7eeb693b3597dba3a6868 Mon Sep 17 00:00:00 2001 From: Ashish Garg Date: Tue, 30 May 2017 10:31:12 +0530 Subject: [PATCH] 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 --- drivers/video/fbdev/msm/mdss_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;