提交 50241c4c 编写于 作者: S shemminger@osdl.org 提交者: Jeff Garzik

[PATCH] sky2: use pci_register_driver

Switch to using pci_register_driver as per current convention.
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 af4ed7e6
......@@ -3106,7 +3106,7 @@ static struct pci_driver sky2_driver = {
static int __init sky2_init_module(void)
{
return pci_module_init(&sky2_driver);
return pci_register_driver(&sky2_driver);
}
static void __exit sky2_cleanup_module(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册