提交 0ad90efd 编写于 作者: A Adrian Bunk 提交者: Richard Purdie

backlight/leds: Make two structs static

This patch makes two needlessly global structs static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
上级 bbf25010
...@@ -164,7 +164,7 @@ static ssize_t backlight_show_actual_brightness(struct device *dev, ...@@ -164,7 +164,7 @@ static ssize_t backlight_show_actual_brightness(struct device *dev,
return rc; return rc;
} }
struct class *backlight_class; static struct class *backlight_class;
static void bl_device_release(struct device *dev) static void bl_device_release(struct device *dev)
{ {
......
...@@ -149,7 +149,7 @@ static ssize_t lcd_show_max_contrast(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); 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) static void lcd_device_release(struct device *dev)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册