summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viamode.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat2011-08-07 15:34:35 +0200
committerFlorian Tobias Schandinat2011-08-07 15:34:35 +0200
commit5dd72f12df00cbabc16de770b79b17ced63138be (patch)
treef25805da9a8e350d71dc2fcdf2e5b9b9256e11fe /drivers/video/via/viamode.h
parentviafb: eliminate modetable dependancy of LCD modesetting (diff)
downloadkernel-qcow2-linux-5dd72f12df00cbabc16de770b79b17ced63138be.tar.gz
kernel-qcow2-linux-5dd72f12df00cbabc16de770b79b17ced63138be.tar.xz
kernel-qcow2-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/viamode.h')
-rw-r--r--drivers/video/via/viamode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/via/viamode.h b/drivers/video/via/viamode.h
index 0396581b9775..5917a2b00e1b 100644
--- a/drivers/video/via/viamode.h
+++ b/drivers/video/via/viamode.h
@@ -60,9 +60,7 @@ extern struct io_reg PM1024x768[];
extern struct patch_table res_patch_table[];
extern struct VPITTable VPIT;
-struct VideoModeTable *viafb_get_mode(int hres, int vres);
struct crt_mode_table *viafb_get_best_mode(int hres, int vres, int refresh);
-struct VideoModeTable *viafb_get_rb_mode(int hres, int vres);
struct crt_mode_table *viafb_get_best_rb_mode(int hres, int vres, int refresh);
#endif /* __VIAMODE_H__ */