diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2009-09-22 19:47:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:52 -0400 |
commit | 13147f291cb18489cbaa550b100dee6f9defd007 (patch) | |
tree | 5ef3b63cf751e5b026f110dff9f6cd1ac22a48c5 /drivers/video/via/viafbdev.h | |
parent | deb7aab6379502fd173cd34efa005108eb0b111b (diff) |
viafb: remove duplicated mode information
Remove the mode information from viafbdev.c and uses the one of viamode.c
instead. This is possible because horizontal and vertical address are the
same as horizontal and vertical resolution. The reduced blanking modes in
the table are no problem because they have a higher index than the normal
modes and therefore always the normal modes are selected just as the old
behaviour.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Harald Welte <laforge@gnumonks.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/viafbdev.h')
-rw-r--r-- | drivers/video/via/viafbdev.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h index ea0df4f96842..cd3dff7cc170 100644 --- a/drivers/video/via/viafbdev.h +++ b/drivers/video/via/viafbdev.h | |||
@@ -70,11 +70,7 @@ struct viafb_par { | |||
70 | int video_on_lcd; | 70 | int video_on_lcd; |
71 | 71 | ||
72 | }; | 72 | }; |
73 | struct viafb_modeinfo { | 73 | |
74 | u32 xres; | ||
75 | u32 yres; | ||
76 | int mode_index; | ||
77 | }; | ||
78 | extern unsigned int viafb_second_virtual_yres; | 74 | extern unsigned int viafb_second_virtual_yres; |
79 | extern unsigned int viafb_second_virtual_xres; | 75 | extern unsigned int viafb_second_virtual_xres; |
80 | extern unsigned int viafb_second_offset; | 76 | extern unsigned int viafb_second_offset; |