From: Christophe Lucas Date: Fri, 8 Jul 2005 00:57:47 +0000 (-0700) Subject: [PATCH] dvb: saa7146: kj pci_module_init cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=178c6efcd8435644028bf3f079c1e82107e72dfd;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 50e8b8654018..77ff22911566 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)