OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b201a47
)
Sony-laptop: Fix sparse warning (make undeclared var static)
author
Lad, Prabhakar
<prabhakar.csengg@gmail.com>
Thu, 5 Feb 2015 14:49:41 +0000
(14:49 +0000)
committer
Darren Hart
<dvhart@linux.intel.com>
Sat, 7 Feb 2015 20:09:20 +0000
(12:09 -0800)
Fix the following sparse warning:
sony-laptop.c:1035:29: warning: symbol 'sony_bl_props' was not declared. Should it be static?
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
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
6dd1c0e
..
e51c1e7
100644
(file)
--- a/
drivers/platform/x86/sony-laptop.c
+++ b/
drivers/platform/x86/sony-laptop.c
@@
-1032,7
+1032,7
@@
struct sony_backlight_props {
u8 offset;
u8 maxlvl;
};
-struct sony_backlight_props sony_bl_props;
+st
atic st
ruct sony_backlight_props sony_bl_props;
static int sony_backlight_update_status(struct backlight_device *bd)
{