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:
Hans Verkuil 2007-03-10 20:34:54 -03:00 committed by Mauro Carvalho Chehab
parent 1e5e9aab31
commit 6773c1c24d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }