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 |
|
|
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, |
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 |
|
|