diff options
Diffstat (limited to 'drivers/video/via/viamode.h')
-rw-r--r-- | drivers/video/via/viamode.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/video/via/viamode.h b/drivers/video/via/viamode.h index 5917a2b00e1b..dd19106698e7 100644 --- a/drivers/video/via/viamode.h +++ b/drivers/video/via/viamode.h | |||
@@ -31,11 +31,6 @@ struct VPITTable { | |||
31 | unsigned char AR[StdAR]; | 31 | unsigned char AR[StdAR]; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | struct VideoModeTable { | ||
35 | struct crt_mode_table *crtc; | ||
36 | int mode_array; | ||
37 | }; | ||
38 | |||
39 | struct patch_table { | 34 | struct patch_table { |
40 | int table_length; | 35 | int table_length; |
41 | struct io_reg *io_reg_table; | 36 | struct io_reg *io_reg_table; |
@@ -60,7 +55,9 @@ extern struct io_reg PM1024x768[]; | |||
60 | extern struct patch_table res_patch_table[]; | 55 | extern struct patch_table res_patch_table[]; |
61 | extern struct VPITTable VPIT; | 56 | extern struct VPITTable VPIT; |
62 | 57 | ||
63 | struct crt_mode_table *viafb_get_best_mode(int hres, int vres, int refresh); | 58 | const struct fb_videomode *viafb_get_best_mode(int hres, int vres, |
64 | struct crt_mode_table *viafb_get_best_rb_mode(int hres, int vres, int refresh); | 59 | int refresh); |
60 | const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres, | ||
61 | int refresh); | ||
65 | 62 | ||
66 | #endif /* __VIAMODE_H__ */ | 63 | #endif /* __VIAMODE_H__ */ |