summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viafbdev.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-03-27 04:54:32 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-03-27 04:54:32 +0200
commit7f980a06e4a9e3bb26db91da8f0e980b0786023a (patch)
tree17323d8d952bcf660cd426f09f2b106458509545 /drivers/video/via/viafbdev.h
parentviafb: gather common good, old VGA initialization in one place (diff)
downloadlinux-7f980a06e4a9e3bb26db91da8f0e980b0786023a.tar.xz
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/viafbdev.h')
-rw-r--r--drivers/video/via/viafbdev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h
index ff60e1ddcffc..59e40d1bd614 100644
--- a/drivers/video/via/viafbdev.h
+++ b/drivers/video/via/viafbdev.h
@@ -83,8 +83,6 @@ struct viafb_par {
struct chip_information *chip_info;
};
-extern unsigned int viafb_second_virtual_yres;
-extern unsigned int viafb_second_virtual_xres;
extern int viafb_SAMM_ON;
extern int viafb_dual_fb;
extern int viafb_LCD2_ON;