diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-11-20 17:50:17 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 09:01:40 +0100 |
commit | 0b51ba07e2e2866bfea40c5551a926dbefae64da (patch) | |
tree | 7d843015e7d64fb6340b14f6c6d6f01b593b51dc /Documentation | |
parent | 5cd575290b4481b3a6ea307afed760df60d01cbc (diff) | |
download | kernel_samsung_smdk4412-0b51ba07e2e2866bfea40c5551a926dbefae64da.zip kernel_samsung_smdk4412-0b51ba07e2e2866bfea40c5551a926dbefae64da.tar.gz kernel_samsung_smdk4412-0b51ba07e2e2866bfea40c5551a926dbefae64da.tar.bz2 |
[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')
-rw-r--r-- | Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 10 |
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 ccd0a95..a319905 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 { </para> <para> - Here, the chip instance is retrieved via - <function>snd_kcontrol_chip()</function> macro. This macro - just accesses to kcontrol->private_data. The - kcontrol->private_data field is - given as the argument of <function>snd_ctl_new()</function> - (see the later subsection - <link linkend="control-interface-constructor"><citetitle>Constructor</citetitle></link>). - </para> - - <para> The <structfield>value</structfield> field is depending on the type of control as well as on info callback. For example, the sb driver uses this field to store the register offset, |