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/keyspan_pda.c | |
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/keyspan_pda.c')
-rw-r--r-- | drivers/usb/serial/keyspan_pda.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index 8fad0e963dd3..389b7833e3ae 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c | |||
@@ -784,7 +784,9 @@ static void keyspan_pda_shutdown (struct usb_serial *serial) | |||
784 | 784 | ||
785 | #ifdef KEYSPAN | 785 | #ifdef KEYSPAN |
786 | static struct usb_serial_driver keyspan_pda_fake_device = { | 786 | static struct usb_serial_driver keyspan_pda_fake_device = { |
787 | .owner = THIS_MODULE, | 787 | .driver = { |
788 | .owner = THIS_MODULE, | ||
789 | }, | ||
788 | .name = "Keyspan PDA - (prerenumeration)", | 790 | .name = "Keyspan PDA - (prerenumeration)", |
789 | .short_name = "keyspan_pda_pre", | 791 | .short_name = "keyspan_pda_pre", |
790 | .id_table = id_table_fake, | 792 | .id_table = id_table_fake, |
@@ -798,7 +800,9 @@ static struct usb_serial_driver keyspan_pda_fake_device = { | |||
798 | 800 | ||
799 | #ifdef XIRCOM | 801 | #ifdef XIRCOM |
800 | static struct usb_serial_driver xircom_pgs_fake_device = { | 802 | static struct usb_serial_driver xircom_pgs_fake_device = { |
801 | .owner = THIS_MODULE, | 803 | .driver = { |
804 | .owner = THIS_MODULE, | ||
805 | }, | ||
802 | .name = "Xircom / Entregra PGS - (prerenumeration)", | 806 | .name = "Xircom / Entregra PGS - (prerenumeration)", |
803 | .short_name = "xircom_no_firm", | 807 | .short_name = "xircom_no_firm", |
804 | .id_table = id_table_fake_xircom, | 808 | .id_table = id_table_fake_xircom, |
@@ -811,7 +815,9 @@ static struct usb_serial_driver xircom_pgs_fake_device = { | |||
811 | #endif | 815 | #endif |
812 | 816 | ||
813 | static struct usb_serial_driver keyspan_pda_device = { | 817 | static struct usb_serial_driver keyspan_pda_device = { |
814 | .owner = THIS_MODULE, | 818 | .driver = { |
819 | .owner = THIS_MODULE, | ||
820 | }, | ||
815 | .name = "Keyspan PDA", | 821 | .name = "Keyspan PDA", |
816 | .short_name = "keyspan_pda", | 822 | .short_name = "keyspan_pda", |
817 | .id_table = id_table_std, | 823 | .id_table = id_table_std, |