diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 15:49:41 +0100 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-02-07 21:09:20 +0100 |
commit | 76fe63f58b44c7112fbdab4d490fb6848f12122b (patch) | |
tree | a7b7a781142943637fa80a692a1068daa08cab0e /drivers/platform | |
parent | thinkpad_acpi.c: Fix sparse warning (make undeclared var static) (diff) | |
download | linux-76fe63f58b44c7112fbdab4d490fb6848f12122b.tar.xz linux-76fe63f58b44c7112fbdab4d490fb6848f12122b.zip |
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) { |