[PATCH 2.5] : ir254_donauboe_init.diff

Jean Tourrilhes (jt@bougret.hpl.hp.com)
Mon, 4 Nov 2002 17:55:09 -0800


ir254_donauboe_init.diff :
------------------------
<Thanks to Adrian Bunk>
o [FEATURE] Fix exported function name to avoid clash with toshoboe

diff -u -p linux/drivers/net/irda/donauboe.d4.c linux/drivers/net/irda/donauboe.c
--- linux/drivers/net/irda/donauboe.d4.c Thu Oct 31 13:57:31 2002
+++ linux/drivers/net/irda/donauboe.c Thu Oct 31 14:03:05 2002
@@ -1826,25 +1826,25 @@ toshoboe_wakeup (struct pci_dev *pci_dev
}

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
+ .name = "toshoboe",
+ .id_table = toshoboe_pci_tbl,
+ .probe = toshoboe_open,
+ .remove = toshoboe_close,
+ .suspend = toshoboe_gotosleep,
+ .resume = toshoboe_wakeup
};

int __init
-toshoboe_init (void)
+donauboe_init (void)
{
return pci_module_init(&toshoboe_pci_driver);
}

STATIC void __exit
-toshoboe_cleanup (void)
+donauboe_cleanup (void)
{
pci_unregister_driver(&toshoboe_pci_driver);
}

-module_init(toshoboe_init);
-module_exit(toshoboe_cleanup);
+module_init(donauboe_init);
+module_exit(donauboe_cleanup);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/