aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sound
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-20 11:50:17 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:01:40 -0500
commit0b51ba07e2e2866bfea40c5551a926dbefae64da (patch)
tree7d843015e7d64fb6340b14f6c6d6f01b593b51dc /Documentation/sound
parent5cd575290b4481b3a6ea307afed760df60d01cbc (diff)
[ALSA] make sound/core/control.c:snd_ctl_new() static
Now that everyone uses snd_ctl_new1() and noone is using snd_ctl_new() anymore, we can make it static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'Documentation/sound')
-rw-r--r--Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl10
1 files changed, 0 insertions, 10 deletions
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
index ccd0a953953d..a319905c2c72 100644
--- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
+++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
@@ -3691,16 +3691,6 @@ struct _snd_pcm_runtime {
3691 </para> 3691 </para>
3692 3692
3693 <para> 3693 <para>
3694 Here, the chip instance is retrieved via
3695 <function>snd_kcontrol_chip()</function> macro. This macro
3696 just accesses to kcontrol-&gt;private_data. The
3697 kcontrol-&gt;private_data field is
3698 given as the argument of <function>snd_ctl_new()</function>
3699 (see the later subsection
3700 <link linkend="control-interface-constructor"><citetitle>Constructor</citetitle></link>).
3701 </para>
3702
3703 <para>
3704 The <structfield>value</structfield> field is depending on 3694 The <structfield>value</structfield> field is depending on
3705 the type of control as well as on info callback. For example, 3695 the type of control as well as on info callback. For example,
3706 the sb driver uses this field to store the register offset, 3696 the sb driver uses this field to store the register offset,