提交 a2a69f0b 编写于 作者: L Libo Chen 提交者: David S. Miller

drivers/atm/he.c: convert to module_pci_driver

Signed-off-by: NLibo Chen <libo.chen@huawei.com>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c9771bfd
...@@ -2865,15 +2865,4 @@ static struct pci_driver he_driver = { ...@@ -2865,15 +2865,4 @@ static struct pci_driver he_driver = {
.id_table = he_pci_tbl, .id_table = he_pci_tbl,
}; };
static int __init he_init(void) module_pci_driver(he_driver);
{
return pci_register_driver(&he_driver);
}
static void __exit he_cleanup(void)
{
pci_unregister_driver(&he_driver);
}
module_init(he_init);
module_exit(he_cleanup);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册