Re: [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown

From: JinGoo Han
Date: Tue Jul 05 2011 - 02:10:29 EST


Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@xxxxxxxxx]
> Sent: Tuesday, July 05, 2011 2:00 PM
> To: linux-kernel@xxxxxxxxxxxxxxx
> 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@xxxxxxxxx>
> ---
> 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
>

N떑꿩ìr¸›y鉉싕b²XФ푤vØ^–)頻{.nÇ+돴¥Š{±묎çzX㎍썳變}©옽Æ zÚ&j:+v돣¾«묎çzZ+€Ê+zf"·hš닱~넮녬iÿ鎬z¹®wⅱ¸?솳鈺Ú&¢)刪f뷌^j푹y§m끷@A«a뛴ÿ 0띠h®å’i