diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 14:49:41 +0000 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-02-07 12:09:20 -0800 |
commit | 76fe63f58b44c7112fbdab4d490fb6848f12122b (patch) | |
tree | a7b7a781142943637fa80a692a1068daa08cab0e /drivers/platform | |
parent | b201a47f3ca6e86d5b3d6d4c4f156a77e6d0cac7 (diff) | |
download | linux-76fe63f58b44c7112fbdab4d490fb6848f12122b.tar.bz2 |
Sony-laptop: Fix sparse warning (make undeclared var static)
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 6dd1c0e7dcd9..e51c1e753607 100644 --- 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; +static struct sony_backlight_props sony_bl_props; static int sony_backlight_update_status(struct backlight_device *bd) { |