On Wed, 30 Jul 2014, weiyj_lk@xxxxxxx wrote: > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxxxxx> > --- > drivers/video/backlight/ipaq_micro_bl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied with Bryan's Ack. > diff --git a/drivers/video/backlight/ipaq_micro_bl.c b/drivers/video/backlight/ipaq_micro_bl.c > index feab29c..347dc11 100644 > --- a/drivers/video/backlight/ipaq_micro_bl.c > +++ b/drivers/video/backlight/ipaq_micro_bl.c > @@ -70,7 +70,7 @@ static int micro_backlight_probe(struct platform_device *pdev) > return 0; > } > > -struct platform_driver micro_backlight_device_driver = { > +static struct platform_driver micro_backlight_device_driver = { > .driver = { > .name = "ipaq-micro-backlight", > }, > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html