diff options
Diffstat (limited to 'drivers/video/sis/init301.c')
-rw-r--r-- | drivers/video/sis/init301.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/video/sis/init301.c b/drivers/video/sis/init301.c index 2bc5b8097910..274dacd54bb8 100644 --- a/drivers/video/sis/init301.c +++ b/drivers/video/sis/init301.c | |||
@@ -86,6 +86,7 @@ | |||
86 | #define SiS_I2CDELAYSHORT 150 | 86 | #define SiS_I2CDELAYSHORT 150 |
87 | 87 | ||
88 | static USHORT SiS_GetBIOSLCDResInfo(SiS_Private *SiS_Pr); | 88 | static USHORT SiS_GetBIOSLCDResInfo(SiS_Private *SiS_Pr); |
89 | static void SiS_SetCH70xx(SiS_Private *SiS_Pr, USHORT tempbx); | ||
89 | 90 | ||
90 | /*********************************************/ | 91 | /*********************************************/ |
91 | /* HELPER: Lock/Unlock CRT2 */ | 92 | /* HELPER: Lock/Unlock CRT2 */ |
@@ -100,7 +101,7 @@ SiS_UnLockCRT2(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo) | |||
100 | SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x24,0x01); | 101 | SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x24,0x01); |
101 | } | 102 | } |
102 | 103 | ||
103 | void | 104 | static void |
104 | SiS_LockCRT2(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo) | 105 | SiS_LockCRT2(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo) |
105 | { | 106 | { |
106 | if(HwInfo->jChipType >= SIS_315H) | 107 | if(HwInfo->jChipType >= SIS_315H) |
@@ -4236,7 +4237,7 @@ SiS_DisableBridge(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo) | |||
4236 | * from outside the context of a mode switch! | 4237 | * from outside the context of a mode switch! |
4237 | * MUST call getVBType before calling this | 4238 | * MUST call getVBType before calling this |
4238 | */ | 4239 | */ |
4239 | void | 4240 | static void |
4240 | SiS_EnableBridge(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo) | 4241 | SiS_EnableBridge(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo) |
4241 | { | 4242 | { |
4242 | USHORT temp=0,tempah; | 4243 | USHORT temp=0,tempah; |
@@ -9219,7 +9220,7 @@ SiS_SetCH701x(SiS_Private *SiS_Pr, USHORT tempbx) | |||
9219 | SiS_SetChReg(SiS_Pr, tempbx, 0); | 9220 | SiS_SetChReg(SiS_Pr, tempbx, 0); |
9220 | } | 9221 | } |
9221 | 9222 | ||
9222 | void | 9223 | static void |
9223 | SiS_SetCH70xx(SiS_Private *SiS_Pr, USHORT tempbx) | 9224 | SiS_SetCH70xx(SiS_Private *SiS_Pr, USHORT tempbx) |
9224 | { | 9225 | { |
9225 | if(SiS_Pr->SiS_IF_DEF_CH70xx == 1) | 9226 | if(SiS_Pr->SiS_IF_DEF_CH70xx == 1) |
@@ -9323,7 +9324,7 @@ SiS_GetCH701x(SiS_Private *SiS_Pr, USHORT tempbx) | |||
9323 | 9324 | ||
9324 | /* Read from Chrontel 70xx */ | 9325 | /* Read from Chrontel 70xx */ |
9325 | /* Parameter is [Register no (S7-S0)] */ | 9326 | /* Parameter is [Register no (S7-S0)] */ |
9326 | USHORT | 9327 | static USHORT |
9327 | SiS_GetCH70xx(SiS_Private *SiS_Pr, USHORT tempbx) | 9328 | SiS_GetCH70xx(SiS_Private *SiS_Pr, USHORT tempbx) |
9328 | { | 9329 | { |
9329 | if(SiS_Pr->SiS_IF_DEF_CH70xx == 1) | 9330 | if(SiS_Pr->SiS_IF_DEF_CH70xx == 1) |