* Re: [PATCH -next] backlight: ipaq_micro: Fix sparse non static symbol warning
@ 2014-07-29 23:25 Bryan Wu
2014-07-30 7:42 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Bryan Wu @ 2014-07-29 23:25 UTC (permalink / raw)
To: linux-fbdev
On Tue, Jul 29, 2014 at 4:20 PM, <weiyj_lk@163.com> wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> 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?
>
I've merged a similar fix for led-ipaq-micro. So this one looks good to me:
Acked-by: Bryan Wu <cooloney@gmail.com>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
> drivers/video/backlight/ipaq_micro_bl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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",
> },
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] backlight: ipaq_micro: Fix sparse non static symbol warning
2014-07-29 23:25 [PATCH -next] backlight: ipaq_micro: Fix sparse non static symbol warning Bryan Wu
@ 2014-07-30 7:42 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-07-30 7:42 UTC (permalink / raw)
To: linux-fbdev
On Wed, 30 Jul 2014, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> 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>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-30 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 23:25 [PATCH -next] backlight: ipaq_micro: Fix sparse non static symbol warning Bryan Wu
2014-07-30 7:42 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).