Commit f11113b2 authored by Dan Carpenter's avatar Dan Carpenter Committed by Matthew Garrett

sony-laptop: make a couple variables static

Sparse complains that these variables should be static.
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 3b3e73f7
...@@ -745,7 +745,7 @@ struct sony_nc_handles { ...@@ -745,7 +745,7 @@ struct sony_nc_handles {
struct device_attribute devattr; struct device_attribute devattr;
}; };
struct sony_nc_handles *handles; static struct sony_nc_handles *handles;
static ssize_t sony_nc_handles_show(struct device *dev, static ssize_t sony_nc_handles_show(struct device *dev,
struct device_attribute *attr, char *buffer) struct device_attribute *attr, char *buffer)
...@@ -1358,7 +1358,7 @@ struct kbd_backlight { ...@@ -1358,7 +1358,7 @@ struct kbd_backlight {
struct device_attribute timeout_attr; struct device_attribute timeout_attr;
}; };
struct kbd_backlight *kbdbl_handle; static struct kbd_backlight *kbdbl_handle;
static ssize_t __sony_nc_kbd_backlight_mode_set(u8 value) static ssize_t __sony_nc_kbd_backlight_mode_set(u8 value)
{ {
......
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