lkml.org 
[lkml]   [2002]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH 2.5] : ir254_donauboe_init.diff
From
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/
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.045 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site