[ALSA] make code static
authorAdrian Bunk <bunk@stusta.de>
Fri, 13 May 2005 13:28:08 +0000 (15:28 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:10:27 +0000 (10:10 +0200)
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>
sound/pci/ca0106/ca0106_proc.c
sound/pci/hda/hda_codec.c

index 0bc1d783a840f18902ea78a4465e6235fc5b8b57..3e5161a3236321750fb691f264293140428ef763 100644 (file)
@@ -95,7 +95,7 @@ static struct snd_ca0106_category_str snd_ca0106_con_category[] = {
 };
 
 
-void snd_ca0106_proc_dump_iec958( snd_info_buffer_t *buffer, u32 value)
+static void snd_ca0106_proc_dump_iec958( snd_info_buffer_t *buffer, u32 value)
 {
        int i;
        u32 status[4];
index 87018dfd02f71b90d40ba19f630c902fecff6eb0..70e3cb6dd252a981b1c1953774970bfa418a384e 100644 (file)
@@ -662,7 +662,7 @@ static void put_vol_mute(struct hda_codec *codec,
 /*
  * read/write AMP value.  The volume is between 0 to 0x7f, 0x80 = mute bit.
  */
-int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int index)
+static int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int index)
 {
        struct hda_amp_info *info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, index));
        if (! info)
@@ -671,7 +671,7 @@ int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int d
        return info->vol[ch];
 }
 
-int snd_hda_codec_amp_write(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int val)
+static int snd_hda_codec_amp_write(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int val)
 {
        struct hda_amp_info *info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, idx));
        if (! info)
This page took 0.040149 seconds and 5 git commands to generate.