From: Mark Brown Date: Tue, 10 May 2011 22:01:58 +0000 (+0200) Subject: ASoC: Fix NULL vs. 0 warning in SSM2602 X-Git-Tag: v3.12-rc1~3017^2~1113^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3afb1b3e6fa358d8c7e652b80be6d0cde07b4b40;p=kernel%2Fkernel-generic.git ASoC: Fix NULL vs. 0 warning in SSM2602 sparse complains if 0 is used as a NULL pointer constant. Signed-off-by: Mark Brown Acked-by: Mike Frysinger Acked-by: Liam Girdwood --- diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index 70099c9..84f4ad5 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c @@ -137,7 +137,7 @@ SND_SOC_DAPM_DAC("DAC", "HiFi Playback", SSM2602_PWR, 3, 1), SND_SOC_DAPM_ADC("ADC", "HiFi Capture", SSM2602_PWR, 2, 1), SND_SOC_DAPM_PGA("Line Input", SSM2602_PWR, 0, 1, NULL, 0), -SND_SOC_DAPM_SUPPLY("Digital Core Power", SSM2602_ACTIVE, 0, 0, 0, 0), +SND_SOC_DAPM_SUPPLY("Digital Core Power", SSM2602_ACTIVE, 0, 0, NULL, 0), SND_SOC_DAPM_OUTPUT("LOUT"), SND_SOC_DAPM_OUTPUT("ROUT"),