diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-08-11 15:59:17 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-08-30 08:45:01 +0200 |
commit | a53fc188ec6fc406276799da465fe789c40d96b2 (patch) | |
tree | 491eec5ff01481a95f803010e87de4bea4c9b1ed /sound/isa/gus | |
parent | b65f824c1ea954ea2b974e42c064f72bfbfe3dd2 (diff) | |
download | linux-a53fc188ec6fc406276799da465fe789c40d96b2.tar.gz linux-a53fc188ec6fc406276799da465fe789c40d96b2.tar.bz2 linux-a53fc188ec6fc406276799da465fe789c40d96b2.zip |
[ALSA] make local objects static
Memalloc module,PCM Midlevel,Timer Midlevel,GUS Library,AC97 Codec
ALI5451 driver,RME9652 driver
Make some functions/variables that are used in only one file static.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/isa/gus')
-rw-r--r-- | sound/isa/gus/gus_io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/isa/gus/gus_io.c b/sound/isa/gus/gus_io.c index 337b0e2a8a36..23e1b5f19e1a 100644 --- a/sound/isa/gus/gus_io.c +++ b/sound/isa/gus/gus_io.c @@ -269,8 +269,9 @@ void snd_gf1_i_write_addr(snd_gus_card_t * gus, unsigned char reg, #endif /* 0 */ -unsigned int snd_gf1_i_read_addr(snd_gus_card_t * gus, - unsigned char reg, short w_16bit) +#ifdef CONFIG_SND_DEBUG +static unsigned int snd_gf1_i_read_addr(snd_gus_card_t * gus, + unsigned char reg, short w_16bit) { unsigned int res; unsigned long flags; @@ -280,6 +281,7 @@ unsigned int snd_gf1_i_read_addr(snd_gus_card_t * gus, spin_unlock_irqrestore(&gus->reg_lock, flags); return res; } +#endif /* |