aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sis/initextlfb.c
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2010-11-19 16:58:47 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-11-24 02:02:56 -0500
commitf7854e5df3f0828e942b089a82dfa5ce9baea428 (patch)
tree1ddf428bcdab50d623b0814d17428a29e02ac8f7 /drivers/video/sis/initextlfb.c
parentb6c30ca6136c6c6900a086b6b843f738a588a2f3 (diff)
sisfb: use CONFIG_FB_SIS_301/315 instead of SIS301/315H
There is no need to alias CONFIG #defines. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Thomas Winischhofer <thomas@winischhofer.net> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sis/initextlfb.c')
-rw-r--r--drivers/video/sis/initextlfb.c6
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;