]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
backlight: lp8788: Staticize 'default_bl_config'
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:56:20 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:20 +0000 (16:56 +1100)
Fix the following sparse warning:

drivers/video/backlight/lp8788_bl.c:55:25: warning: symbol 'default_bl_config' was not declared. Should it be static?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lp8788_bl.c

index 980855ec9bb10c2c8421f59a48a65bd9a82af60f..e49905d495dcd66102df9113f068128aee4f8a7b 100644 (file)
@@ -52,7 +52,7 @@ struct lp8788_bl {
        struct pwm_device *pwm;
 };
 
-struct lp8788_bl_config default_bl_config = {
+static struct lp8788_bl_config default_bl_config = {
        .bl_mode    = LP8788_BL_REGISTER_ONLY,
        .dim_mode   = LP8788_DIM_EXPONENTIAL,
        .full_scale = LP8788_FULLSCALE_1900uA,