Skip to content

Commit

Permalink
sony-laptop: make a couple variables static
Browse files Browse the repository at this point in the history
Sparse complains that these variables should be static.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Dan Carpenter authored and Matthew Garrett committed Mar 28, 2011
1 parent 3b3e73f commit f11113b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ struct sony_nc_handles {
struct device_attribute devattr;
};

struct sony_nc_handles *handles;
static struct sony_nc_handles *handles;

static ssize_t sony_nc_handles_show(struct device *dev,
struct device_attribute *attr, char *buffer)
Expand Down Expand Up @@ -1358,7 +1358,7 @@ struct kbd_backlight {
struct device_attribute timeout_attr;
};

struct kbd_backlight *kbdbl_handle;
static struct kbd_backlight *kbdbl_handle;

static ssize_t __sony_nc_kbd_backlight_mode_set(u8 value)
{
Expand Down

0 comments on commit f11113b

Please sign in to comment.