Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38062
b: refs/heads/master
c: f8e3d4c
h: refs/heads/master
v: v3
  • Loading branch information
Michal Piotrowski authored and Linus Torvalds committed Oct 3, 2006
1 parent 3222911 commit 3cc57d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99dbb4641a820c777cb32d2907402525a6ab4015
refs/heads/master: f8e3d4c19c1b81a8d1bf7ea709524ab8fc2186c3
4 changes: 0 additions & 4 deletions trunk/drivers/video/sis/initextlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@
#include <linux/types.h>
#include <linux/fb.h>

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr,
unsigned char modeno, unsigned char rateindex);
int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno,
unsigned char rateindex, struct fb_var_screeninfo *var);
#endif
BOOLEAN sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno,
int *htotal, int *vtotal, unsigned char rateindex);

Expand All @@ -49,7 +47,6 @@ extern BOOLEAN SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *Mode
extern void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata,
int xres, int yres, struct fb_var_screeninfo *var, BOOLEAN writeres);

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
int
sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno,
unsigned char rateindex)
Expand Down Expand Up @@ -177,7 +174,6 @@ sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno,

return 1;
}
#endif /* Linux >= 2.5 */

BOOLEAN
sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal,
Expand Down

0 comments on commit 3cc57d0

Please sign in to comment.