diff options
Diffstat (limited to 'drivers/video/sis/initextlfb.c')
-rw-r--r-- | drivers/video/sis/initextlfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/sis/initextlfb.c b/drivers/video/sis/initextlfb.c index 99c04a4855d1..1975308151dd 100644 --- a/drivers/video/sis/initextlfb.c +++ b/drivers/video/sis/initextlfb.c | |||
@@ -59,7 +59,7 @@ sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno, | |||
59 | 59 | ||
60 | if(rateindex > 0) rateindex--; | 60 | if(rateindex > 0) rateindex--; |
61 | 61 | ||
62 | #ifdef SIS315H | 62 | #ifdef CONFIG_FB_SIS_315 |
63 | switch(ModeNo) { | 63 | switch(ModeNo) { |
64 | case 0x5a: ModeNo = 0x50; break; | 64 | case 0x5a: ModeNo = 0x50; break; |
65 | case 0x5b: ModeNo = 0x56; | 65 | case 0x5b: ModeNo = 0x56; |
@@ -103,7 +103,7 @@ sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno, | |||
103 | 103 | ||
104 | if(rateindex > 0) rateindex--; | 104 | if(rateindex > 0) rateindex--; |
105 | 105 | ||
106 | #ifdef SIS315H | 106 | #ifdef CONFIG_FB_SIS_315 |
107 | switch(ModeNo) { | 107 | switch(ModeNo) { |
108 | case 0x5a: ModeNo = 0x50; break; | 108 | case 0x5a: ModeNo = 0x50; break; |
109 | case 0x5b: ModeNo = 0x56; | 109 | case 0x5b: ModeNo = 0x56; |
@@ -187,7 +187,7 @@ sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *ht | |||
187 | 187 | ||
188 | if(rateindex > 0) rateindex--; | 188 | if(rateindex > 0) rateindex--; |
189 | 189 | ||
190 | #ifdef SIS315H | 190 | #ifdef CONFIG_FB_SIS_315 |
191 | switch(ModeNo) { | 191 | switch(ModeNo) { |
192 | case 0x5a: ModeNo = 0x50; break; | 192 | case 0x5a: ModeNo = 0x50; break; |
193 | case 0x5b: ModeNo = 0x56; | 193 | case 0x5b: ModeNo = 0x56; |