提交 178c6efc 编写于 作者: C Christophe Lucas 提交者: Linus Torvalds

[PATCH] dvb: saa7146: kj pci_module_init cleanup

http://kerneljanitors.org/TODO
- convert from pci_module_init to pci_register_driver
Signed-off-by: NChristophe Lucas <c.lucas@ifrance.com>
Signed-off-by: NDomen Puncer <domen@coderock.org>
Signed-off-by: NJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 c7cadb3a
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册