projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b3e73f
)
sony-laptop: make a couple variables static
author
Dan Carpenter
<
[email protected]
>
Sat, 26 Feb 2011 12:54:27 +0000
(15:54 +0300)
committer
Matthew Garrett
<
[email protected]
>
Mon, 28 Mar 2011 10:07:25 +0000
(06:07 -0400)
Sparse complains that these variables should be static.
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/sony-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/sony-laptop.c
b/drivers/platform/x86/sony-laptop.c
index d28a4a58a4971eaf8c886400e16f5a8ded71c574..60d83343fb014b41d69c4e520a5c73a3d9300192 100644
(file)
--- a/
drivers/platform/x86/sony-laptop.c
+++ b/
drivers/platform/x86/sony-laptop.c
@@
-745,7
+745,7
@@
struct sony_nc_handles {
struct device_attribute devattr;
};
-struct sony_nc_handles *handles;
+st
atic st
ruct sony_nc_handles *handles;
static ssize_t sony_nc_handles_show(struct device *dev,
struct device_attribute *attr, char *buffer)
@@
-1358,7
+1358,7
@@
struct kbd_backlight {
struct device_attribute timeout_attr;
};
-struct kbd_backlight *kbdbl_handle;
+st
atic st
ruct kbd_backlight *kbdbl_handle;
static ssize_t __sony_nc_kbd_backlight_mode_set(u8 value)
{