[PATCH] drivers/char/mwave/3780i.c: cleanups

This patch contains the following cleanups:
- make a needlessly global function static
- #if 0 the unused global function dsp3780I_ReadGenCfg

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Adrian Bunk and committed by Linus Torvalds 3b01b47c dbc6b5f5

+4 -6
+4 -2
drivers/char/mwave/3780i.c
··· 107 107 spin_unlock_irqrestore(&dsp_lock, flags); 108 108 } 109 109 110 - void dsp3780I_WriteGenCfg(unsigned short usDspBaseIO, unsigned uIndex, 111 - unsigned char ucValue) 110 + static void dsp3780I_WriteGenCfg(unsigned short usDspBaseIO, unsigned uIndex, 111 + unsigned char ucValue) 112 112 { 113 113 DSP_ISA_SLAVE_CONTROL rSlaveControl; 114 114 DSP_ISA_SLAVE_CONTROL rSlaveControl_Save; ··· 141 141 142 142 } 143 143 144 + #if 0 144 145 unsigned char dsp3780I_ReadGenCfg(unsigned short usDspBaseIO, 145 146 unsigned uIndex) 146 147 { ··· 168 167 169 168 return ucValue; 170 169 } 170 + #endif /* 0 */ 171 171 172 172 int dsp3780I_EnableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings, 173 173 unsigned short *pIrqMap,
-4
drivers/char/mwave/3780i.h
··· 338 338 unsigned long ulMsaAddr); 339 339 void dsp3780I_WriteMsaCfg(unsigned short usDspBaseIO, 340 340 unsigned long ulMsaAddr, unsigned short usValue); 341 - void dsp3780I_WriteGenCfg(unsigned short usDspBaseIO, unsigned uIndex, 342 - unsigned char ucValue); 343 - unsigned char dsp3780I_ReadGenCfg(unsigned short usDspBaseIO, 344 - unsigned uIndex); 345 341 int dsp3780I_GetIPCSource(unsigned short usDspBaseIO, 346 342 unsigned short *pusIPCSource); 347 343