diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 19:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 19:36:47 -0400 |
commit | 75c96f85845a6707b0f9916cb263cb3584f7d48f (patch) | |
tree | 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 /drivers/video/sis/init301.c | |
parent | 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (diff) |
[PATCH] make some things static
This patch makes some needlessly global identifiers static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Arjan van de Ven <arjanv@infradead.org>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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) |