V4L/DVB (5416): Use pci_register_driver instead of pci_module_init in ivtv.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
1e5e9aab31
commit
6773c1c24d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue