mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
backlight: ipaq_micro: Fix sparse non static symbol warning
Fixes the following sparse warnings: drivers/video/backlight/ipaq_micro_bl.c:73:24: warning: symbol 'micro_backlight_device_driver' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Bryan Wu <cooloney@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
2188a988bb
commit
87464cdba2
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ static int micro_backlight_probe(struct platform_device *pdev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct platform_driver micro_backlight_device_driver = {
|
static struct platform_driver micro_backlight_device_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ipaq-micro-backlight",
|
.name = "ipaq-micro-backlight",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue