On Mon, Jul 28, 2014 at 6:15 AM, <weiyj_lk@xxxxxxx> wrote: > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > > Fixes the following sparse warnings: > > drivers/leds/leds-ipaq-micro.c:130:24: warning: > symbol 'micro_leds_device_driver' was not declared. Should it be static? > Good catch, applied. Thanks, -Bryan > Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > --- > drivers/leds/leds-ipaq-micro.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/leds/leds-ipaq-micro.c b/drivers/leds/leds-ipaq-micro.c > index 3210a47..3776f51 100644 > --- a/drivers/leds/leds-ipaq-micro.c > +++ b/drivers/leds/leds-ipaq-micro.c > @@ -127,7 +127,7 @@ static int micro_leds_remove(struct platform_device *pdev) > return 0; > } > > -struct platform_driver micro_leds_device_driver = { > +static struct platform_driver micro_leds_device_driver = { > .driver = { > .name = "ipaq-micro-leds", > }, > -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html