aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-29 23:21:59 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-30 22:50:09 (GMT)
commit27dcb00d0dc1d532b0da940e35a6d020ee33bd47 (patch)
tree6125d1b2d1262054889d1eaa04b65c4168319cf5
parent7eea35fe3df80e1a008203e59487185d5d04a5a8 (diff)
[media] radio-miropcm20: fix sparse NULL pointer warning
Fixes the following sparse warnings: drivers/media/radio/radio-miropcm20.c:193:33: warning: Using plain integer as NULL pointer Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/radio/radio-miropcm20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c
index ac9915d..998919e 100644
--- a/drivers/media/radio/radio-miropcm20.c
+++ b/drivers/media/radio/radio-miropcm20.c
@@ -190,7 +190,7 @@ static int pcm20_setfreq(struct pcm20 *dev, unsigned long freq)
freql = freq & 0xff;
freqh = freq >> 8;
- rds_cmd(aci, RDS_RESET, 0, 0);
+ rds_cmd(aci, RDS_RESET, NULL, 0);
return snd_aci_cmd(aci, ACI_WRITE_TUNE, freql, freqh);
}

Privacy Policy