From 5b88eb504e00d11aeba2ac895d789d8adb872d41 Mon Sep 17 00:00:00 2001 From: Jeff Garzik <jgarzik@redhat.com> Date: Thu, 7 Nov 2002 05:57:21 -0500 Subject: [PATCH] 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 --- drivers/net/irda/donauboe.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index ce76c33a8352..5b78bb15d18f 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c @@ -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); -- 2.30.9