Commit 0ad90efd authored by Adrian Bunk's avatar Adrian Bunk Committed by Richard Purdie

backlight/leds: Make two structs static

This patch makes two needlessly global structs static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent bbf25010
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment