summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-audio.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-30 11:35:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-30 11:35:28 -0300
commit7b01d379fd7d69e9bba228dd42bc9d0c75bb7681 (patch)
tree862dfd68553f1cd4410320f8d0affd96be4f2f4e /linux/drivers/media/video/pvrusb2/pvrusb2-audio.c
parent7c9fb6798a34120f38474485b91f47e8b99b3307 (diff)
downloadmediapointer-dvb-s2-7b01d379fd7d69e9bba228dd42bc9d0c75bb7681.tar.gz
mediapointer-dvb-s2-7b01d379fd7d69e9bba228dd42bc9d0c75bb7681.tar.bz2
Clean out a zillion sparse warnings in pvrusb2
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-audio.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-audio.c b/linux/drivers/media/video/pvrusb2/pvrusb2-audio.c
index 30e3a38f6..9d1a126be 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-audio.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-audio.c
@@ -146,8 +146,8 @@ static int get_audio_status(struct pvr2_msp3400_handler *ctxt)
static void pvr2_msp3400_detach(struct pvr2_msp3400_handler *ctxt)
{
- ctxt->client->handler = 0;
- ctxt->hdw->audio_stat = 0;
+ ctxt->client->handler = NULL;
+ ctxt->hdw->audio_stat = NULL;
kfree(ctxt);
}