diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:48 -0400 |
commit | 18fcac353fdc7cd072b0d24c8667042e675a4c11 (patch) | |
tree | 7cbbcfccf999193e78ff86d9dc3ff1e41ec3b0bf /drivers/usb/serial/usb-serial.h | |
parent | ea65370d025f5005649e5cb37c4d025e92c6fc38 (diff) |
[PATCH] USB Serial: get rid of the .owner field in usb_serial_driver
Don't duplicate something that's already in struct driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/usb-serial.h')
-rw-r--r-- | drivers/usb/serial/usb-serial.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/serial/usb-serial.h b/drivers/usb/serial/usb-serial.h index d6738b1b0429..4ca5e0c05611 100644 --- a/drivers/usb/serial/usb-serial.h +++ b/drivers/usb/serial/usb-serial.h | |||
@@ -189,7 +189,6 @@ static inline void usb_set_serial_data (struct usb_serial *serial, void *data) | |||
189 | 189 | ||
190 | /** | 190 | /** |
191 | * usb_serial_driver - describes a usb serial driver | 191 | * usb_serial_driver - describes a usb serial driver |
192 | * @owner: pointer to the module that owns this driver. | ||
193 | * @name: pointer to a string that describes this driver. This string used | 192 | * @name: pointer to a string that describes this driver. This string used |
194 | * in the syslog messages when a device is inserted or removed. | 193 | * in the syslog messages when a device is inserted or removed. |
195 | * @short_name: a pointer to a string that describes this driver in | 194 | * @short_name: a pointer to a string that describes this driver in |
@@ -226,9 +225,11 @@ static inline void usb_set_serial_data (struct usb_serial *serial, void *data) | |||
226 | * pointers are defined, then the USB serial core code will call them when | 225 | * pointers are defined, then the USB serial core code will call them when |
227 | * the corresponding tty port functions are called. If they are not | 226 | * the corresponding tty port functions are called. If they are not |
228 | * called, the generic serial function will be used instead. | 227 | * called, the generic serial function will be used instead. |
228 | * | ||
229 | * The driver.owner field should be set to the module owner of this driver. | ||
230 | * | ||
229 | */ | 231 | */ |
230 | struct usb_serial_driver { | 232 | struct usb_serial_driver { |
231 | struct module *owner; | ||
232 | char *name; | 233 | char *name; |
233 | char *short_name; | 234 | char *short_name; |
234 | const struct usb_device_id *id_table; | 235 | const struct usb_device_id *id_table; |