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>
This commit is contained in:
parent
b201a47f3c
commit
76fe63f58b
1 changed files with 1 additions and 1 deletions
|
@ -1032,7 +1032,7 @@ struct sony_backlight_props {
|
||||||
u8 offset;
|
u8 offset;
|
||||||
u8 maxlvl;
|
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)
|
static int sony_backlight_update_status(struct backlight_device *bd)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue