summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-05 14:49:41 +0000
committerDarren Hart <dvhart@linux.intel.com>2015-02-07 12:09:20 -0800
commit76fe63f58b44c7112fbdab4d490fb6848f12122b (patch)
treea7b7a781142943637fa80a692a1068daa08cab0e /drivers/platform
parentb201a47f3ca6e86d5b3d6d4c4f156a77e6d0cac7 (diff)
downloadlinux-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.c2
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)
{