diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-06-12 12:17:26 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-06-13 10:48:49 -0400 |
commit | d3bd67cdbb5d12f30dfd1b627fd95bd6dcc7ff1e (patch) | |
tree | 3e701748a1f178799448030d88fd5fd7e7cf718d /sound | |
parent | 149b154452b18dedd4559cdd65b965ae9011e425 (diff) |
ALSA: make snd_ctl_elem_read() and snd_ctl_elem_write() static
snd_ctl_elem_read() and snd_ctl_elem_write() are no longer used by
any other drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/control.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/core/control.c b/sound/core/control.c index 01a1a5af47bb..281b2e2ef0ea 100644 --- a/sound/core/control.c +++ b/sound/core/control.c | |||
@@ -684,7 +684,8 @@ static int snd_ctl_elem_info_user(struct snd_ctl_file *ctl, | |||
684 | return result; | 684 | return result; |
685 | } | 685 | } |
686 | 686 | ||
687 | int snd_ctl_elem_read(struct snd_card *card, struct snd_ctl_elem_value *control) | 687 | static int snd_ctl_elem_read(struct snd_card *card, |
688 | struct snd_ctl_elem_value *control) | ||
688 | { | 689 | { |
689 | struct snd_kcontrol *kctl; | 690 | struct snd_kcontrol *kctl; |
690 | struct snd_kcontrol_volatile *vd; | 691 | struct snd_kcontrol_volatile *vd; |
@@ -734,8 +735,8 @@ static int snd_ctl_elem_read_user(struct snd_card *card, | |||
734 | return result; | 735 | return result; |
735 | } | 736 | } |
736 | 737 | ||
737 | int snd_ctl_elem_write(struct snd_card *card, struct snd_ctl_file *file, | 738 | static int snd_ctl_elem_write(struct snd_card *card, struct snd_ctl_file *file, |
738 | struct snd_ctl_elem_value *control) | 739 | struct snd_ctl_elem_value *control) |
739 | { | 740 | { |
740 | struct snd_kcontrol *kctl; | 741 | struct snd_kcontrol *kctl; |
741 | struct snd_kcontrol_volatile *vd; | 742 | struct snd_kcontrol_volatile *vd; |