Commit 6773c1c2 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (5416): Use pci_register_driver instead of pci_module_init in ivtv.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 1e5e9aab
...@@ -1333,7 +1333,7 @@ static int module_start(void) ...@@ -1333,7 +1333,7 @@ static int module_start(void)
printk(KERN_INFO "ivtv: debug value must be >= 0 and <= 511!\n"); printk(KERN_INFO "ivtv: debug value must be >= 0 and <= 511!\n");
} }
if (pci_module_init(&ivtv_pci_driver)) { if (pci_register_driver(&ivtv_pci_driver)) {
printk(KERN_ERR "ivtv: Error detecting PCI card\n"); printk(KERN_ERR "ivtv: Error detecting PCI card\n");
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment