Commit cd094927 authored by Libo Chen's avatar Libo Chen Committed by David S. Miller

drivers/net/irda/donauboe.c: convert to module_pci_driver

Signed-off-by: default avatarLibo Chen <libo.chen@huawei.com>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efd50290
...@@ -1755,17 +1755,4 @@ static struct pci_driver donauboe_pci_driver = { ...@@ -1755,17 +1755,4 @@ static struct pci_driver donauboe_pci_driver = {
.resume = toshoboe_wakeup .resume = toshoboe_wakeup
}; };
static int __init module_pci_driver(donauboe_pci_driver);
donauboe_init (void)
{
return pci_register_driver(&donauboe_pci_driver);
}
static void __exit
donauboe_cleanup (void)
{
pci_unregister_driver(&donauboe_pci_driver);
}
module_init(donauboe_init);
module_exit(donauboe_cleanup);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment