From: Dan Carpenter Date: Sat, 26 Feb 2011 12:54:27 +0000 (+0300) Subject: sony-laptop: make a couple variables static X-Git-Tag: v2.6.39-rc1~20^2^2~20 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f11113b22cd84b0adc355eaaa80be433005f5f45;p=~shefty%2Frdma-dev.git sony-laptop: make a couple variables static Sparse complains that these variables should be static. Signed-off-by: Dan Carpenter Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index d28a4a58a49..60d83343fb0 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -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) @@ -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) {