/[gnokii]/gnokii/patches/kernel_2.6/nokia_dku2.c
ViewVC logotype

Diff of /gnokii/patches/kernel_2.6/nokia_dku2.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by pkot, Mon Oct 17 20:06:19 2005 UTC revision 1.7 by pkot, Mon Oct 17 20:35:07 2005 UTC
# Line 13  Line 13 
13   *  the Free Software Foundation; either version 2 of the License, or   *  the Free Software Foundation; either version 2 of the License, or
14   *  (at your option) any later version.   *  (at your option) any later version.
15   *   *
16     *  20.09.2005 - Matthias Blaesing <matthias.blaesing@rwth-aachen.de>
17     *  Added short name to device structure to make driver load into kernel 2.6.13
18     *
19     *  20.09.2005 - Matthias Blaesing <matthias.blaesing@rwth-aachen.de>
20     *  Added usb_deregister to exit code - to allow remove and reinsert of module
21   */   */
22    
23    
# Line 79  static struct usb_driver nokia_driver = Line 84  static struct usb_driver nokia_driver =
84    
85  static struct usb_serial_device_type nokia_device = {  static struct usb_serial_device_type nokia_device = {
86          .owner =                THIS_MODULE,          .owner =                THIS_MODULE,
87          .name =                 "Nokia 7600/6230/6230i/6170 DKU2 driver",          .name =                 "Nokia 7600/6230(i)/6170/66x0 DKU2 driver",
88            .short_name =           "Nokia DKU2",
89          .id_table =             id_table,          .id_table =             id_table,
90          .num_interrupt_in =     1,          .num_interrupt_in =     1,
91          .num_bulk_in =          1,          .num_bulk_in =          1,
# Line 134  static int __init nokia_init(void) Line 140  static int __init nokia_init(void)
140    
141  static void __exit nokia_exit(void)  static void __exit nokia_exit(void)
142  {  {
143            usb_deregister(&nokia_driver);
144          usb_serial_deregister(&nokia_device);          usb_serial_deregister(&nokia_device);
145  }  }
146    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26