aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-03-10 18:34:54 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:44:32 -0400
commit6773c1c24d48f0aa667ba2aff573904a77050f09 (patch)
treeb9c1545abf12e82a866bc34f4147e62d97f03fd4 /drivers
parent1e5e9aab31d3f73977d2b14189a0bb08b582cbb9 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index 4fe42258b214..7058aa25ac9c 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -1333,7 +1333,7 @@ static int module_start(void)
1333 printk(KERN_INFO "ivtv: debug value must be >= 0 and <= 511!\n"); 1333 printk(KERN_INFO "ivtv: debug value must be >= 0 and <= 511!\n");
1334 } 1334 }
1335 1335
1336 if (pci_module_init(&ivtv_pci_driver)) { 1336 if (pci_register_driver(&ivtv_pci_driver)) {
1337 printk(KERN_ERR "ivtv: Error detecting PCI card\n"); 1337 printk(KERN_ERR "ivtv: Error detecting PCI card\n");
1338 return -ENODEV; 1338 return -ENODEV;
1339 } 1339 }