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)
return 0;
}
static struct pci_driver toshoboe_pci_driver = {
name : "toshoboe",
id_table : toshoboe_pci_tbl,
probe : toshoboe_open,
remove : toshoboe_close,
suspend : toshoboe_gotosleep,
resume : toshoboe_wakeup
static struct pci_driver donauboe_pci_driver = {
.name = "donauboe",
.id_table = toshoboe_pci_tbl,
.probe = toshoboe_open,
.remove = toshoboe_close,
.suspend = toshoboe_gotosleep,
.resume = toshoboe_wakeup
};
int __init
toshoboe_init (void)
static int __init
donauboe_init (void)
{
return pci_module_init(&toshoboe_pci_driver);
return pci_module_init(&donauboe_pci_driver);
}
STATIC void __exit
toshoboe_cleanup (void)
static void __exit
donauboe_cleanup (void)
{
pci_unregister_driver(&toshoboe_pci_driver);
pci_unregister_driver(&donauboe_pci_driver);
}
module_init(toshoboe_init);
module_exit(toshoboe_cleanup);
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