diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-03 13:00:08 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-09 12:06:29 -0500 |
commit | 23e5abd5555b86fd56af6383e7a832b0cf2a2d95 (patch) | |
tree | 3466b403df83a0d150132169e5fdab5c396742ed /drivers/video/via/via_i2c.c | |
parent | b65d6040e3a7cd75d9287f7ddfd115e85fde4b44 (diff) |
video via: make local variables static
Many local variables should be declared static.
Found by sparse, compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/via_i2c.c')
-rw-r--r-- | drivers/video/via/via_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c index a172a31f168f..78f1405dbab7 100644 --- a/drivers/video/via/via_i2c.c +++ b/drivers/video/via/via_i2c.c | |||
@@ -32,7 +32,7 @@ | |||
32 | */ | 32 | */ |
33 | #define VIAFB_NUM_I2C 5 | 33 | #define VIAFB_NUM_I2C 5 |
34 | static struct via_i2c_stuff via_i2c_par[VIAFB_NUM_I2C]; | 34 | static struct via_i2c_stuff via_i2c_par[VIAFB_NUM_I2C]; |
35 | struct viafb_dev *i2c_vdev; /* Passed in from core */ | 35 | static struct viafb_dev *i2c_vdev; /* Passed in from core */ |
36 | 36 | ||
37 | static void via_i2c_setscl(void *data, int state) | 37 | static void via_i2c_setscl(void *data, int state) |
38 | { | 38 | { |