summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/lcd.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-08-11 13:27:19 +0400
committerRichard Purdie <rpurdie@rpsys.net>2007-10-12 01:24:12 +0400
commit0ad90efde278866a4ba7510e6e1fbd9626da1689 (patch)
tree86169b116d4bdd3b01ac145bb2c396591efabd3e /drivers/video/backlight/lcd.c
parentbbf25010f1a6b761914430f5fca081ec8c7accd1 (diff)
downloadlinux-0ad90efde278866a4ba7510e6e1fbd9626da1689.tar.xz
backlight/leds: Make two structs static
This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/video/backlight/lcd.c')
-rw-r--r--drivers/video/backlight/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lcd.c b/drivers/video/backlight/lcd.c
index 6f652c65fae1..299fd318dd45 100644
--- a/drivers/video/backlight/lcd.c
+++ b/drivers/video/backlight/lcd.c
@@ -149,7 +149,7 @@ static ssize_t lcd_show_max_contrast(struct device *dev,
return sprintf(buf, "%d\n", ld->props.max_contrast);
}
-struct class *lcd_class;
+static struct class *lcd_class;
static void lcd_device_release(struct device *dev)
{