diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-07 15:34:35 +0200 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-07 15:34:35 +0200 |
commit | 5dd72f12df00cbabc16de770b79b17ced63138be (patch) | |
tree | f25805da9a8e350d71dc2fcdf2e5b9b9256e11fe /drivers/video/via/global.c | |
parent | viafb: eliminate modetable dependancy of LCD modesetting (diff) | |
download | linux-5dd72f12df00cbabc16de770b79b17ced63138be.tar.xz linux-5dd72f12df00cbabc16de770b79b17ced63138be.zip |
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.c')
-rw-r--r-- | drivers/video/via/global.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/via/global.c b/drivers/video/via/global.c index e10d8249534c..3102171c1674 100644 --- a/drivers/video/via/global.c +++ b/drivers/video/via/global.c @@ -35,6 +35,8 @@ int viafb_LCD_ON ; int viafb_LCD2_ON; int viafb_SAMM_ON; int viafb_dual_fb; +unsigned int viafb_second_xres = 640; +unsigned int viafb_second_yres = 480; int viafb_hotplug_Xres = 640; int viafb_hotplug_Yres = 480; int viafb_hotplug_bpp = 32; |