Commit 1f299997 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

backlight: lp8788: staticize 'default_bl_config'

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0ab7b20f
...@@ -52,7 +52,7 @@ struct lp8788_bl { ...@@ -52,7 +52,7 @@ struct lp8788_bl {
struct pwm_device *pwm; 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, .bl_mode = LP8788_BL_REGISTER_ONLY,
.dim_mode = LP8788_DIM_EXPONENTIAL, .dim_mode = LP8788_DIM_EXPONENTIAL,
.full_scale = LP8788_FULLSCALE_1900uA, .full_scale = LP8788_FULLSCALE_1900uA,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment