aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 19:47:48 -0400
commit18fcac353fdc7cd072b0d24c8667042e675a4c11 (patch)
tree7cbbcfccf999193e78ff86d9dc3ff1e41ec3b0bf /drivers/usb/serial/ftdi_sio.c
parentea65370d025f5005649e5cb37c4d025e92c6fc38 (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/ftdi_sio.c')
-rw-r--r--drivers/usb/serial/ftdi_sio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 529e1a7ccfa0..9d945de0acac 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -563,7 +563,9 @@ static __u32 ftdi_232bm_baud_base_to_divisor (int baud, int base);
563static __u32 ftdi_232bm_baud_to_divisor (int baud); 563static __u32 ftdi_232bm_baud_to_divisor (int baud);
564 564
565static struct usb_serial_driver ftdi_sio_device = { 565static struct usb_serial_driver ftdi_sio_device = {
566 .owner = THIS_MODULE, 566 .driver = {
567 .owner = THIS_MODULE,
568 },
567 .name = "FTDI USB Serial Device", 569 .name = "FTDI USB Serial Device",
568 .short_name = "ftdi_sio", 570 .short_name = "ftdi_sio",
569 .id_table = id_table_combined, 571 .id_table = id_table_combined,