From: Christophe Lucas Date: Fri, 8 Jul 2005 00:57:47 +0000 (-0700) Subject: [PATCH] dvb: saa7146: kj pci_module_init cleanup X-Git-Tag: v2.6.13-rc3~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=178c6efcd8435644028bf3f079c1e82107e72dfd;p=profile%2Fivi%2Fkernel-x86-ivi.git [PATCH] dvb: saa7146: kj pci_module_init cleanup http://kerneljanitors.org/TODO - convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/media/common/saa7146_core.c b/drivers/media/common/saa7146_core.c index 50e8b86..77ff229 100644 --- a/drivers/media/common/saa7146_core.c +++ b/drivers/media/common/saa7146_core.c @@ -512,7 +512,7 @@ int saa7146_register_extension(struct saa7146_extension* ext) ext->driver.remove = saa7146_remove_one; printk("saa7146: register extension '%s'.\n",ext->name); - return pci_module_init(&ext->driver); + return pci_register_driver(&ext->driver); } int saa7146_unregister_extension(struct saa7146_extension* ext)