diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-06 19:35:25 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-06 21:41:24 -0400 |
commit | 42edcb162d67e8a88c7b873941c19eab689db272 (patch) | |
tree | 3332e99f497c97228a67faf7a2a2eda95f1e1904 /drivers/video/via/hw.h | |
parent | 94715ba97508dd42919a7525e362efb00dde1271 (diff) |
viafb: eliminate viafb_get_pixclock
As there is only one user we can just insert the formula where
needed. Avoids one lookup in the modetable and
viafb_fill_var_timing_info does no longer depend on the modetable.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r-- | drivers/video/via/hw.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h index 3b7e1496657b..5516b025926b 100644 --- a/drivers/video/via/hw.h +++ b/drivers/video/via/hw.h | |||
@@ -665,7 +665,6 @@ void viafb_fill_var_timing_info(struct fb_var_screeninfo *var, | |||
665 | struct crt_mode_table *mode); | 665 | struct crt_mode_table *mode); |
666 | void __devinit viafb_init_chip_info(int chip_type); | 666 | void __devinit viafb_init_chip_info(int chip_type); |
667 | void __devinit viafb_init_dac(int set_iga); | 667 | void __devinit viafb_init_dac(int set_iga); |
668 | int viafb_get_pixclock(int hres, int vres, int vmode_refresh); | ||
669 | int viafb_get_refresh(int hres, int vres, u32 float_refresh); | 668 | int viafb_get_refresh(int hres, int vres, u32 float_refresh); |
670 | void viafb_update_device_setting(int hres, int vres, int bpp, int flag); | 669 | void viafb_update_device_setting(int hres, int vres, int bpp, int flag); |
671 | 670 | ||