aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Lucas <c.lucas@ifrance.com>2005-07-07 20:57:47 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:23:56 -0400
commit178c6efcd8435644028bf3f079c1e82107e72dfd (patch)
treef30ac325655b56225c800d1da38c9ef9c7a779f8
parentc7cadb3a02b5803c2f251b5cd84fbdc8fbec05e9 (diff)
[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 <c.lucas@ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/common/saa7146_core.c2
1 files changed, 1 insertions, 1 deletions
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)
512 ext->driver.remove = saa7146_remove_one; 512 ext->driver.remove = saa7146_remove_one;
513 513
514 printk("saa7146: register extension '%s'.\n",ext->name); 514 printk("saa7146: register extension '%s'.\n",ext->name);
515 return pci_module_init(&ext->driver); 515 return pci_register_driver(&ext->driver);
516} 516}
517 517
518int saa7146_unregister_extension(struct saa7146_extension* ext) 518int saa7146_unregister_extension(struct saa7146_extension* ext)