diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-07 09:34:35 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-07 09:34:35 -0400 |
commit | 5dd72f12df00cbabc16de770b79b17ced63138be (patch) | |
tree | f25805da9a8e350d71dc2fcdf2e5b9b9256e11fe /drivers/video/via/global.h | |
parent | bfe7d5f9396d5f2607454fd9ff89397fa3ba9a32 (diff) |
viafb: get rid of the remaining modetable structure assumptions
This patch removes the remaining places where assumptions about the
structure of the modetable were made. Aside from some places where
assumptions are made that certain modes are in the modetable the
only code dealing with the modetable and not just a single mode is
in viamode. This will allow chaniging the modetable and use other
sources for videomodes like the subsystem or EDID.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/global.h')
-rw-r--r-- | drivers/video/via/global.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/via/global.h b/drivers/video/via/global.h index ff969dc34593..275dbbbd6b81 100644 --- a/drivers/video/via/global.h +++ b/drivers/video/via/global.h | |||
@@ -67,6 +67,8 @@ extern int viafb_lcd_dsp_method; | |||
67 | extern int viafb_lcd_mode; | 67 | extern int viafb_lcd_mode; |
68 | 68 | ||
69 | extern int viafb_CRT_ON; | 69 | extern int viafb_CRT_ON; |
70 | extern unsigned int viafb_second_xres; | ||
71 | extern unsigned int viafb_second_yres; | ||
70 | extern int viafb_hotplug_Xres; | 72 | extern int viafb_hotplug_Xres; |
71 | extern int viafb_hotplug_Yres; | 73 | extern int viafb_hotplug_Yres; |
72 | extern int viafb_hotplug_bpp; | 74 | extern int viafb_hotplug_bpp; |