summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/global.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-03-10 15:21:37 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 15:52:33 -0800
commitdba77f8409eb861b28d295211776d953a8255ec7 (patch)
tree0214d1b9200572564ab1b856f52f78acaeaa2922 /drivers/video/via/global.c
parent4bbac05f8c0ab40dcc52ed6dff44e1b0d80fa6e3 (diff)
downloadblackbird-op-linux-dba77f8409eb861b28d295211776d953a8255ec7.tar.gz
blackbird-op-linux-dba77f8409eb861b28d295211776d953a8255ec7.zip
viafb: make some variables a bit less global
Move some variables closer to their usage. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Scott Fang <ScottFang@viatech.com.cn> Cc: Joseph Chan <JosephChan@via.com.tw> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/global.c')
-rw-r--r--drivers/video/via/global.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/via/global.c b/drivers/video/via/global.c
index 7fbc618526f4..1ee511b73307 100644
--- a/drivers/video/via/global.c
+++ b/drivers/video/via/global.c
@@ -29,8 +29,6 @@ int viafb_refresh = 60;
int viafb_refresh1 = 60;
int viafb_lcd_dsp_method = LCD_EXPANDSION;
int viafb_lcd_mode = LCD_OPENLDI;
-int viafb_bpp = 32;
-int viafb_bpp1 = 32;
int viafb_CRT_ON = 1;
int viafb_DVI_ON;
int viafb_LCD_ON ;
@@ -41,8 +39,6 @@ int viafb_hotplug_Xres = 640;
int viafb_hotplug_Yres = 480;
int viafb_hotplug_bpp = 32;
int viafb_hotplug_refresh = 60;
-unsigned int viafb_second_offset;
-int viafb_second_size;
int viafb_primary_dev = None_Device;
unsigned int viafb_second_xres = 640;
unsigned int viafb_second_yres = 480;
OpenPOWER on IntegriCloud