Commit 5b88eb50 authored by Jeff Garzik's avatar Jeff Garzik

IrDA update 2/3:

(Adrian Bunk)
* C99 initializers
* fix public symbol name conflict
(me)
* further clean up namespace on donauboe driver in module_init/exit area
parent 5e127e55
...@@ -1825,26 +1825,26 @@ toshoboe_wakeup (struct pci_dev *pci_dev) ...@@ -1825,26 +1825,26 @@ toshoboe_wakeup (struct pci_dev *pci_dev)
return 0; return 0;
} }
static struct pci_driver toshoboe_pci_driver = { static struct pci_driver donauboe_pci_driver = {
name : "toshoboe", .name = "donauboe",
id_table : toshoboe_pci_tbl, .id_table = toshoboe_pci_tbl,
probe : toshoboe_open, .probe = toshoboe_open,
remove : toshoboe_close, .remove = toshoboe_close,
suspend : toshoboe_gotosleep, .suspend = toshoboe_gotosleep,
resume : toshoboe_wakeup .resume = toshoboe_wakeup
}; };
int __init static int __init
toshoboe_init (void) donauboe_init (void)
{ {
return pci_module_init(&toshoboe_pci_driver); return pci_module_init(&donauboe_pci_driver);
} }
STATIC void __exit static void __exit
toshoboe_cleanup (void) donauboe_cleanup (void)
{ {
pci_unregister_driver(&toshoboe_pci_driver); pci_unregister_driver(&donauboe_pci_driver);
} }
module_init(toshoboe_init); module_init(donauboe_init);
module_exit(toshoboe_cleanup); 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