diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-27 02:54:32 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-27 02:54:32 +0000 |
commit | 7f980a06e4a9e3bb26db91da8f0e980b0786023a (patch) | |
tree | 17323d8d952bcf660cd426f09f2b106458509545 /drivers/video/via/global.c | |
parent | 95d517cfce023eb24c5363ab82377146bd659816 (diff) | |
download | blackbird-op-linux-7f980a06e4a9e3bb26db91da8f0e980b0786023a.tar.gz blackbird-op-linux-7f980a06e4a9e3bb26db91da8f0e980b0786023a.zip |
viafb: some small cleanup for global variables
We do not need viafb_second{,_virtual}_{xres,yres} outside of
viafbdev.c so move them there and eliminate the virtual ones where
the only sane usage is done during initalization.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/global.c')
-rw-r--r-- | drivers/video/via/global.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/via/global.c b/drivers/video/via/global.c index 1ee511b73307..e10d8249534c 100644 --- a/drivers/video/via/global.c +++ b/drivers/video/via/global.c @@ -40,10 +40,6 @@ int viafb_hotplug_Yres = 480; int viafb_hotplug_bpp = 32; int viafb_hotplug_refresh = 60; int viafb_primary_dev = None_Device; -unsigned int viafb_second_xres = 640; -unsigned int viafb_second_yres = 480; -unsigned int viafb_second_virtual_xres; -unsigned int viafb_second_virtual_yres; int viafb_lcd_panel_id = LCD_PANEL_ID_MAXIMUM + 1; struct fb_info *viafbinfo; struct fb_info *viafbinfo1; |