diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2010-11-19 16:58:47 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-24 02:02:56 -0500 |
commit | f7854e5df3f0828e942b089a82dfa5ce9baea428 (patch) | |
tree | 1ddf428bcdab50d623b0814d17428a29e02ac8f7 /drivers/video/sis/init301.h | |
parent | b6c30ca6136c6c6900a086b6b843f738a588a2f3 (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/init301.h')
-rw-r--r-- | drivers/video/sis/init301.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/sis/init301.h b/drivers/video/sis/init301.h index 31e24ae6c6e6..267715204b0f 100644 --- a/drivers/video/sis/init301.h +++ b/drivers/video/sis/init301.h | |||
@@ -230,7 +230,7 @@ static const unsigned char SiS_Part2CLVX_6[] = { /* 1080i */ | |||
230 | 0xFF,0xFF, | 230 | 0xFF,0xFF, |
231 | }; | 231 | }; |
232 | 232 | ||
233 | #ifdef SIS315H | 233 | #ifdef CONFIG_FB_SIS_315 |
234 | /* 661 et al LCD data structure (2.03.00) */ | 234 | /* 661 et al LCD data structure (2.03.00) */ |
235 | static const unsigned char SiS_LCDStruct661[] = { | 235 | static const unsigned char SiS_LCDStruct661[] = { |
236 | /* 1024x768 */ | 236 | /* 1024x768 */ |
@@ -272,7 +272,7 @@ static const unsigned char SiS_LCDStruct661[] = { | |||
272 | }; | 272 | }; |
273 | #endif | 273 | #endif |
274 | 274 | ||
275 | #ifdef SIS300 | 275 | #ifdef CONFIG_FB_SIS_300 |
276 | static unsigned char SiS300_TrumpionData[14][80] = { | 276 | static unsigned char SiS300_TrumpionData[14][80] = { |
277 | { 0x02,0x0A,0x0A,0x01,0x04,0x01,0x00,0x03,0x0D,0x00,0x0D,0x10,0x7F,0x00,0x80,0x02, | 277 | { 0x02,0x0A,0x0A,0x01,0x04,0x01,0x00,0x03,0x0D,0x00,0x0D,0x10,0x7F,0x00,0x80,0x02, |
278 | 0x20,0x03,0x0B,0x00,0x90,0x01,0xC1,0x01,0x60,0x0C,0x30,0x10,0x00,0x00,0x04,0x23, | 278 | 0x20,0x03,0x0B,0x00,0x90,0x01,0xC1,0x01,0x60,0x0C,0x30,0x10,0x00,0x00,0x04,0x23, |
@@ -375,7 +375,7 @@ void SiS_SetCH701x(struct SiS_Private *SiS_Pr, unsigned short reg, unsigned cha | |||
375 | unsigned short SiS_GetCH701x(struct SiS_Private *SiS_Pr, unsigned short tempax); | 375 | unsigned short SiS_GetCH701x(struct SiS_Private *SiS_Pr, unsigned short tempax); |
376 | void SiS_SetCH70xxANDOR(struct SiS_Private *SiS_Pr, unsigned short reg, | 376 | void SiS_SetCH70xxANDOR(struct SiS_Private *SiS_Pr, unsigned short reg, |
377 | unsigned char orval,unsigned short andval); | 377 | unsigned char orval,unsigned short andval); |
378 | #ifdef SIS315H | 378 | #ifdef CONFIG_FB_SIS_315 |
379 | static void SiS_Chrontel701xOn(struct SiS_Private *SiS_Pr); | 379 | static void SiS_Chrontel701xOn(struct SiS_Private *SiS_Pr); |
380 | static void SiS_Chrontel701xOff(struct SiS_Private *SiS_Pr); | 380 | static void SiS_Chrontel701xOff(struct SiS_Private *SiS_Pr); |
381 | static void SiS_ChrontelInitTVVSync(struct SiS_Private *SiS_Pr); | 381 | static void SiS_ChrontelInitTVVSync(struct SiS_Private *SiS_Pr); |
@@ -384,7 +384,7 @@ void SiS_Chrontel701xBLOn(struct SiS_Private *SiS_Pr); | |||
384 | void SiS_Chrontel701xBLOff(struct SiS_Private *SiS_Pr); | 384 | void SiS_Chrontel701xBLOff(struct SiS_Private *SiS_Pr); |
385 | #endif /* 315 */ | 385 | #endif /* 315 */ |
386 | 386 | ||
387 | #ifdef SIS300 | 387 | #ifdef CONFIG_FB_SIS_300 |
388 | static bool SiS_SetTrumpionBlock(struct SiS_Private *SiS_Pr, unsigned char *dataptr); | 388 | static bool SiS_SetTrumpionBlock(struct SiS_Private *SiS_Pr, unsigned char *dataptr); |
389 | void SiS_SetChrontelGPIO(struct SiS_Private *SiS_Pr, unsigned short myvbinfo); | 389 | void SiS_SetChrontelGPIO(struct SiS_Private *SiS_Pr, unsigned short myvbinfo); |
390 | #endif | 390 | #endif |
@@ -415,13 +415,13 @@ static unsigned short SiS_PrepareDDC(struct SiS_Private *SiS_Pr); | |||
415 | static void SiS_SendACK(struct SiS_Private *SiS_Pr, unsigned short yesno); | 415 | static void SiS_SendACK(struct SiS_Private *SiS_Pr, unsigned short yesno); |
416 | static unsigned short SiS_DoProbeDDC(struct SiS_Private *SiS_Pr); | 416 | static unsigned short SiS_DoProbeDDC(struct SiS_Private *SiS_Pr); |
417 | 417 | ||
418 | #ifdef SIS300 | 418 | #ifdef CONFIG_FB_SIS_300 |
419 | static void SiS_OEM300Setting(struct SiS_Private *SiS_Pr, | 419 | static void SiS_OEM300Setting(struct SiS_Private *SiS_Pr, |
420 | unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefTabindex); | 420 | unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefTabindex); |
421 | static void SetOEMLCDData2(struct SiS_Private *SiS_Pr, | 421 | static void SetOEMLCDData2(struct SiS_Private *SiS_Pr, |
422 | unsigned short ModeNo, unsigned short ModeIdIndex,unsigned short RefTableIndex); | 422 | unsigned short ModeNo, unsigned short ModeIdIndex,unsigned short RefTableIndex); |
423 | #endif | 423 | #endif |
424 | #ifdef SIS315H | 424 | #ifdef CONFIG_FB_SIS_315 |
425 | static void SiS_OEM310Setting(struct SiS_Private *SiS_Pr, | 425 | static void SiS_OEM310Setting(struct SiS_Private *SiS_Pr, |
426 | unsigned short ModeNo,unsigned short ModeIdIndex, unsigned short RRTI); | 426 | unsigned short ModeNo,unsigned short ModeIdIndex, unsigned short RRTI); |
427 | static void SiS_OEM661Setting(struct SiS_Private *SiS_Pr, | 427 | static void SiS_OEM661Setting(struct SiS_Private *SiS_Pr, |
@@ -456,7 +456,7 @@ extern void SiS_CalcLCDACRT1Timing(struct SiS_Private *SiS_Pr, unsigned short M | |||
456 | extern void SiS_CalcCRRegisters(struct SiS_Private *SiS_Pr, int depth); | 456 | extern void SiS_CalcCRRegisters(struct SiS_Private *SiS_Pr, int depth); |
457 | extern unsigned short SiS_GetRefCRTVCLK(struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide); | 457 | extern unsigned short SiS_GetRefCRTVCLK(struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide); |
458 | extern unsigned short SiS_GetRefCRT1CRTC(struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide); | 458 | extern unsigned short SiS_GetRefCRT1CRTC(struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide); |
459 | #ifdef SIS300 | 459 | #ifdef CONFIG_FB_SIS_300 |
460 | extern void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *tempbx, | 460 | extern void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *tempbx, |
461 | unsigned short *tempcl); | 461 | unsigned short *tempcl); |
462 | extern unsigned short SiS_GetFIFOThresholdB300(unsigned short tempbx, unsigned short tempcl); | 462 | extern unsigned short SiS_GetFIFOThresholdB300(unsigned short tempbx, unsigned short tempcl); |