diff options
author | Dan Carpenter <error27@gmail.com> | 2011-02-26 07:54:27 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-03-28 06:07:25 -0400 |
commit | f11113b22cd84b0adc355eaaa80be433005f5f45 (patch) | |
tree | 1fab14b789bc38def7fa930a1a4f4db3d4efe1eb /drivers/platform | |
parent | 3b3e73f7d879f914f25605f74a71c2dad34bc329 (diff) |
sony-laptop: make a couple variables static
Sparse complains that these variables should be static.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index d28a4a58a497..60d83343fb01 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -745,7 +745,7 @@ struct sony_nc_handles { | |||
745 | struct device_attribute devattr; | 745 | struct device_attribute devattr; |
746 | }; | 746 | }; |
747 | 747 | ||
748 | struct sony_nc_handles *handles; | 748 | static struct sony_nc_handles *handles; |
749 | 749 | ||
750 | static ssize_t sony_nc_handles_show(struct device *dev, | 750 | static ssize_t sony_nc_handles_show(struct device *dev, |
751 | struct device_attribute *attr, char *buffer) | 751 | struct device_attribute *attr, char *buffer) |
@@ -1358,7 +1358,7 @@ struct kbd_backlight { | |||
1358 | struct device_attribute timeout_attr; | 1358 | struct device_attribute timeout_attr; |
1359 | }; | 1359 | }; |
1360 | 1360 | ||
1361 | struct kbd_backlight *kbdbl_handle; | 1361 | static struct kbd_backlight *kbdbl_handle; |
1362 | 1362 | ||
1363 | static ssize_t __sony_nc_kbd_backlight_mode_set(u8 value) | 1363 | static ssize_t __sony_nc_kbd_backlight_mode_set(u8 value) |
1364 | { | 1364 | { |