forked from luck/tmp_suning_uos_patched
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:
parent
bbf25010f1
commit
0ad90efde2
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user