[<prev] [next>] [day] [month] [year] [list]
Message-id: <14768860.359471309846214814.JavaMail.weblogic@epml17>
Date: Tue, 05 Jul 2011 06:10:15 +0000 (GMT)
From: JinGoo Han <jg1.han@...sung.com>
To: Axel Lin <axel.lin@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: JinGoo Han <jg1.han@...sung.com>,
Richard Purdie <rpurdie@...ys.net>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown
Acked-by: Jingoo Han <jg1.han@...sung.com>
> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@...il.com]
> Sent: Tuesday, July 05, 2011 2:00 PM
> To: linux-kernel@...r.kernel.org
> Cc: Jingoo Han; Richard Purdie; Andrew Morton
> Subject: [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown
>
> It's only used in ams369fg06.c, no need for it to be in the global
> namespace.
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> ---
> drivers/video/backlight/ams369fg06.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/backlight/ams369fg06.c
> b/drivers/video/backlight/ams369fg06.c
> index 201a593..59fab88 100644
> --- a/drivers/video/backlight/ams369fg06.c
> +++ b/drivers/video/backlight/ams369fg06.c
> @@ -608,7 +608,7 @@ static int ams369fg06_resume(struct spi_device *spi)
> #define ams369fg06_resume NULL
> #endif
>
> -void ams369fg06_shutdown(struct spi_device *spi)
> +static void ams369fg06_shutdown(struct spi_device *spi)
> {
> struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
>
> --
> 1.7.4.1
>
Powered by blists - more mailing lists