lkml.org 
[lkml]   [2011]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown
From
Date
It's only used in ams369fg06.c, no need for it to be in the global namespace.

Signed-off-by: Axel Lin <axel.lin@gmail.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




\
 
 \ /
  Last update: 2011-07-05 07:03    [from the cache]
©2003-2011 Jasper Spaans