summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-main.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-main.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-main.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-main.c b/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
index b81b5a62e..494eb85cb 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
@@ -55,7 +55,7 @@ module_param_named(debug,pvrusb2_debug,int,S_IRUGO|S_IWUSR);
MODULE_PARM_DESC(debug, "Debug trace mask");
#ifdef CONFIG_VIDEO_PVRUSB2_SYSFS
-static struct pvr2_sysfs_class *class_ptr = 0;
+static struct pvr2_sysfs_class *class_ptr = NULL;
#endif /* CONFIG_VIDEO_PVRUSB2_SYSFS */
static void pvr_setup_attach(struct pvr2_context *pvr)
@@ -106,12 +106,12 @@ static void pvr_disconnect(struct usb_interface *intf)
static struct usb_driver pvr_driver = {
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
- owner: THIS_MODULE,
+ .owner = THIS_MODULE,
#endif
- name: "pvrusb2",
- id_table: pvr2_device_table,
- probe: pvr_probe,
- disconnect: pvr_disconnect
+ .name = "pvrusb2",
+ .id_table = pvr2_device_table,
+ .probe = pvr_probe,
+ .disconnect = pvr_disconnect
};
/*