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/viafbdev.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/viafbdev.c')
-rw-r--r-- | drivers/video/via/viafbdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c index 4e66349e436..f555b891cc7 100644 --- a/drivers/video/via/viafbdev.c +++ b/drivers/video/via/viafbdev.c | |||
@@ -43,11 +43,11 @@ static int viafb_second_size; | |||
43 | static int viafb_accel = 1; | 43 | static int viafb_accel = 1; |
44 | 44 | ||
45 | /* Added for specifying active devices.*/ | 45 | /* Added for specifying active devices.*/ |
46 | char *viafb_active_dev; | 46 | static char *viafb_active_dev; |
47 | 47 | ||
48 | /*Added for specify lcd output port*/ | 48 | /*Added for specify lcd output port*/ |
49 | char *viafb_lcd_port = ""; | 49 | static char *viafb_lcd_port = ""; |
50 | char *viafb_dvi_port = ""; | 50 | static char *viafb_dvi_port = ""; |
51 | 51 | ||
52 | static void retrieve_device_setting(struct viafb_ioctl_setting | 52 | static void retrieve_device_setting(struct viafb_ioctl_setting |
53 | *setting_info); | 53 | *setting_info); |