o drivers/usb/serial/keyspan: initialize struct usb_driver ->owner field

parent 4932cdaa
...@@ -477,6 +477,7 @@ static struct usb_device_id keyspan_ids_combined[] = { ...@@ -477,6 +477,7 @@ static struct usb_device_id keyspan_ids_combined[] = {
MODULE_DEVICE_TABLE(usb, keyspan_ids_combined); MODULE_DEVICE_TABLE(usb, keyspan_ids_combined);
static struct usb_driver keyspan_driver = { static struct usb_driver keyspan_driver = {
.owner = THIS_MODULE,
.name = "keyspan", .name = "keyspan",
.probe = usb_serial_probe, .probe = usb_serial_probe,
.disconnect = usb_serial_disconnect, .disconnect = usb_serial_disconnect,
......
...@@ -155,6 +155,7 @@ static struct usb_device_id id_table_combined [] = { ...@@ -155,6 +155,7 @@ static struct usb_device_id id_table_combined [] = {
MODULE_DEVICE_TABLE (usb, id_table_combined); MODULE_DEVICE_TABLE (usb, id_table_combined);
static struct usb_driver keyspan_pda_driver = { static struct usb_driver keyspan_pda_driver = {
.owner = THIS_MODULE,
.name = "keyspan_pda", .name = "keyspan_pda",
.probe = usb_serial_probe, .probe = usb_serial_probe,
.disconnect = usb_serial_disconnect, .disconnect = usb_serial_disconnect,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment