Messages in this thread Patch in this message | | | Date | Mon, 22 Nov 2004 00:58:53 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] ALSA sound/pcmcia/pdaudiocf/pdaudiocf_core.c: make some code static |
| |
The patch below makes some needlessly global code static.
diffstat output: sound/pcmcia/pdaudiocf/pdaudiocf.h | 2 -- sound/pcmcia/pdaudiocf/pdaudiocf_core.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc2-mm2-full/sound/pcmcia/pdaudiocf/pdaudiocf.h.old 2004-11-21 23:57:28.000000000 +0100 +++ linux-2.6.10-rc2-mm2-full/sound/pcmcia/pdaudiocf/pdaudiocf.h 2004-11-21 23:57:46.000000000 +0100 @@ -130,8 +130,6 @@ return inw(chip->port + reg); } -unsigned char pdacf_ak4117_read(void *private_data, unsigned char reg); -void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned char val); pdacf_t *snd_pdacf_create(snd_card_t *card); int snd_pdacf_ak4117_create(pdacf_t *pdacf); void snd_pdacf_powerdown(pdacf_t *chip); --- linux-2.6.10-rc2-mm2-full/sound/pcmcia/pdaudiocf/pdaudiocf_core.c.old 2004-11-21 23:57:54.000000000 +0100 +++ linux-2.6.10-rc2-mm2-full/sound/pcmcia/pdaudiocf/pdaudiocf_core.c 2004-11-21 23:58:10.000000000 +0100 @@ -28,7 +28,7 @@ /* * */ -unsigned char pdacf_ak4117_read(void *private_data, unsigned char reg) +static unsigned char pdacf_ak4117_read(void *private_data, unsigned char reg) { pdacf_t *chip = private_data; unsigned long timeout; @@ -60,7 +60,7 @@ return res; } -void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned char val) +static void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned char val) { pdacf_t *chip = private_data; unsigned long timeout; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |