Skip to content

Commit

Permalink
Sony-laptop: Fix sparse warning (make undeclared var static)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lad, Prabhakar authored and Darren Hart committed Feb 7, 2015
1 parent b201a47 commit 76fe63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 76fe63f

Please sign in to comment.