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>
This commit is contained in:
Adrian Bunk 2007-08-11 10:27:19 +01:00 committed by Richard Purdie
parent bbf25010f1
commit 0ad90efde2
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ static ssize_t backlight_show_actual_brightness(struct device *dev,
return rc;
}
struct class *backlight_class;
static struct class *backlight_class;
static void bl_device_release(struct device *dev)
{

View File

@ -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)
{