diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-13 09:28:08 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:10:27 -0400 |
commit | 89c87bf8c12e27fbbed971380e21895cace3a065 (patch) | |
tree | fe1ba4e6d38044da0d7365dad038b121bc56db0d /sound/pci/hda | |
parent | 10268b0c38333ede95bb59a7fa561519e6eb8251 (diff) |
[ALSA] make code static
CA0106 driver,HDA Codec driver
This patch makes needlessly global code static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 87018dfd02f7..70e3cb6dd252 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -662,7 +662,7 @@ static void put_vol_mute(struct hda_codec *codec, | |||
662 | /* | 662 | /* |
663 | * read/write AMP value. The volume is between 0 to 0x7f, 0x80 = mute bit. | 663 | * read/write AMP value. The volume is between 0 to 0x7f, 0x80 = mute bit. |
664 | */ | 664 | */ |
665 | int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int index) | 665 | static int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int index) |
666 | { | 666 | { |
667 | struct hda_amp_info *info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, index)); | 667 | struct hda_amp_info *info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, index)); |
668 | if (! info) | 668 | if (! info) |
@@ -671,7 +671,7 @@ int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int d | |||
671 | return info->vol[ch]; | 671 | return info->vol[ch]; |
672 | } | 672 | } |
673 | 673 | ||
674 | int snd_hda_codec_amp_write(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int val) | 674 | static int snd_hda_codec_amp_write(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int val) |
675 | { | 675 | { |
676 | struct hda_amp_info *info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, idx)); | 676 | struct hda_amp_info *info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, idx)); |
677 | if (! info) | 677 | if (! info) |