diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-11-12 15:09:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:15 +0900 |
commit | 1f299997b460d08356006945345a8962f7ecd719 (patch) | |
tree | fc25904f2fe1cb90ae77f424f28eec0532af69f9 /drivers/video | |
parent | 0ab7b20fa011f25f900b04e8f6f6e8221864eefd (diff) | |
download | lwn-1f299997b460d08356006945345a8962f7ecd719.tar.gz lwn-1f299997b460d08356006945345a8962f7ecd719.zip |
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/lp8788_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c index 980855ec9bb1..e49905d495dc 100644 --- a/drivers/video/backlight/lp8788_bl.c +++ b/drivers/video/backlight/lp8788_bl.c @@ -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, |