diff options
author | Michal Piotrowski <michal.k.k.piotrowski@gmail.com> | 2006-10-03 04:14:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:11 -0400 |
commit | f8e3d4c19c1b81a8d1bf7ea709524ab8fc2186c3 (patch) | |
tree | 65bc15747e54473c7924f693d09e0083ee0977d4 /drivers/video/sis | |
parent | 99dbb4641a820c777cb32d2907402525a6ab4015 (diff) |
[PATCH] drivers/video/sis/initextlfb.c: removal of old code
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/sis')
-rw-r--r-- | drivers/video/sis/initextlfb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/sis/initextlfb.c b/drivers/video/sis/initextlfb.c index 09f5d758b6c0..c3884a29f4c5 100644 --- a/drivers/video/sis/initextlfb.c +++ b/drivers/video/sis/initextlfb.c | |||
@@ -34,12 +34,10 @@ | |||
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/fb.h> | 35 | #include <linux/fb.h> |
36 | 36 | ||
37 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) | ||
38 | int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, | 37 | int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, |
39 | unsigned char modeno, unsigned char rateindex); | 38 | unsigned char modeno, unsigned char rateindex); |
40 | int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno, | 39 | int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno, |
41 | unsigned char rateindex, struct fb_var_screeninfo *var); | 40 | unsigned char rateindex, struct fb_var_screeninfo *var); |
42 | #endif | ||
43 | BOOLEAN sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, | 41 | BOOLEAN sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, |
44 | int *htotal, int *vtotal, unsigned char rateindex); | 42 | int *htotal, int *vtotal, unsigned char rateindex); |
45 | 43 | ||
@@ -49,7 +47,6 @@ extern BOOLEAN SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *Mode | |||
49 | extern void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata, | 47 | extern void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata, |
50 | int xres, int yres, struct fb_var_screeninfo *var, BOOLEAN writeres); | 48 | int xres, int yres, struct fb_var_screeninfo *var, BOOLEAN writeres); |
51 | 49 | ||
52 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) | ||
53 | int | 50 | int |
54 | sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno, | 51 | sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno, |
55 | unsigned char rateindex) | 52 | unsigned char rateindex) |
@@ -177,7 +174,6 @@ sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno, | |||
177 | 174 | ||
178 | return 1; | 175 | return 1; |
179 | } | 176 | } |
180 | #endif /* Linux >= 2.5 */ | ||
181 | 177 | ||
182 | BOOLEAN | 178 | BOOLEAN |
183 | sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, | 179 | sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, |