Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6773c1c24d48f0aa667ba2aff573904a77050f09
Commit:     6773c1c24d48f0aa667ba2aff573904a77050f09
Parent:     1e5e9aab31d3f73977d2b14189a0bb08b582cbb9
Author:     Hans Verkuil <[EMAIL PROTECTED]>
AuthorDate: Sat Mar 10 20:34:54 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:44:32 2007 -0300

    V4L/DVB (5416): Use pci_register_driver instead of pci_module_init in ivtv.
    
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/ivtv/ivtv-driver.c |    2 +-
 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 4fe4225..7058aa2 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)
                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");
                return -ENODEV;
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to