From: Takashi Iwai Date: Tue, 5 Feb 2013 13:23:53 +0000 (+0100) Subject: ALSA: Replace 0 with NULL in writing-an-alsa-driver.tmpl X-Git-Tag: v3.9-rc1~52^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16c5ab1d3a6d1b11ed2966fa33a3a4fecd13a2bc;p=platform%2Fkernel%2Flinux-stable.git ALSA: Replace 0 with NULL in writing-an-alsa-driver.tmpl Spotted while correcting the sentences. Signed-off-by: Takashi Iwai --- diff --git a/Documentation/DocBook/writing-an-alsa-driver.tmpl b/Documentation/DocBook/writing-an-alsa-driver.tmpl index c564faa..bd6fee2 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 { 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); ]]> @@ -3321,8 +3321,8 @@ struct _snd_pcm_runtime { 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); ]]>