]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/serial/pl2303.c
[PATCH] USB Serial: get rid of the .owner field in usb_serial_driver
[linux-2.6-omap-h63xx.git] / drivers / usb / serial / pl2303.c
index 3cf245bdda54d0a877989e5850886562d877c2d9..beef3c4cee6eb49a5e58f93d2a77726ec6e4c5f9 100644 (file)
@@ -175,8 +175,10 @@ static unsigned int pl2303_buf_get(struct pl2303_buf *pb, char *buf,
 
 
 /* All of the device info needed for the PL2303 SIO serial converter */
-static struct usb_serial_device_type pl2303_device = {
-       .owner =                THIS_MODULE,
+static struct usb_serial_driver pl2303_device = {
+       .driver = {
+               .owner =        THIS_MODULE,
+       },
        .name =                 "PL-2303",
        .id_table =             id_table,
        .num_interrupt_in =     NUM_DONT_CARE,