diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-02-05 14:23:53 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-02-05 14:23:53 +0100 |
commit | 16c5ab1d3a6d1b11ed2966fa33a3a4fecd13a2bc (patch) | |
tree | 56d343b5dbf968bf28805021bdbc9aef77ba3866 /Documentation/DocBook | |
parent | a690a2a1eb32e533e2b2afb1daeef3c4011d47e9 (diff) | |
download | linux-3.10-16c5ab1d3a6d1b11ed2966fa33a3a4fecd13a2bc.tar.gz linux-3.10-16c5ab1d3a6d1b11ed2966fa33a3a4fecd13a2bc.tar.bz2 linux-3.10-16c5ab1d3a6d1b11ed2966fa33a3a4fecd13a2bc.zip |
ALSA: Replace 0 with NULL in writing-an-alsa-driver.tmpl
Spotted while correcting the sentences.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/writing-an-alsa-driver.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/DocBook/writing-an-alsa-driver.tmpl b/Documentation/DocBook/writing-an-alsa-driver.tmpl index c564faab981..bd6fee22c4d 100644 --- a/Documentation/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/DocBook/writing-an-alsa-driver.tmpl @@ -3278,8 +3278,8 @@ struct _snd_pcm_runtime { <programlisting> <![CDATA[ snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, - hw_rule_channels_by_format, 0, SNDRV_PCM_HW_PARAM_FORMAT, - -1); + hw_rule_channels_by_format, NULL, + SNDRV_PCM_HW_PARAM_FORMAT, -1); ]]> </programlisting> </informalexample> @@ -3321,8 +3321,8 @@ struct _snd_pcm_runtime { <programlisting> <![CDATA[ snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, - hw_rule_format_by_channels, 0, SNDRV_PCM_HW_PARAM_CHANNELS, - -1); + hw_rule_format_by_channels, NULL, + SNDRV_PCM_HW_PARAM_CHANNELS, -1); ]]> </programlisting> </informalexample> |