From 83a2dce69ca4b4dde6ff75b8fdca6537437ff3b4 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Fri, 1 Jul 2011 15:34:22 +1000 Subject: [PATCH] backlight: make some varibales static fixes this build error: drivers/video/backlight/ams369fg06.o:(.bss+0x510): multiple definition of `before_power' drivers/video/backlight/s6e63m0.o:(.bss+0x5e0): first defined here Signed-off-by: Stephen Rothwell Cc: Jingoo Han Cc: Richard Purdie Cc: Inki Dae Cc: anish singh Signed-off-by: Andrew Morton --- drivers/video/backlight/ams369fg06.c | 2 +- drivers/video/backlight/s6e63m0.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c index 86a7dafcfd70..d1d8237bc4d8 100644 --- a/drivers/video/backlight/ams369fg06.c +++ b/drivers/video/backlight/ams369fg06.c @@ -560,7 +560,7 @@ static int __devexit ams369fg06_remove(struct spi_device *spi) } #if defined(CONFIG_PM) -unsigned int before_power; +static unsigned int before_power; static int ams369fg06_suspend(struct spi_device *spi, pm_message_t mesg) { diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c index 322040f686c2..e1803ba23176 100644 --- a/drivers/video/backlight/s6e63m0.c +++ b/drivers/video/backlight/s6e63m0.c @@ -840,7 +840,7 @@ static int __devexit s6e63m0_remove(struct spi_device *spi) } #if defined(CONFIG_PM) -unsigned int before_power; +static unsigned int before_power; static int s6e63m0_suspend(struct spi_device *spi, pm_message_t mesg) { -- 2.39.5