kernel: update kernel versions
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.36 / 801-usb_serial_endpoint_size.patch
index 00a1a860ef364e8cce672a21f74c5727e4299e17..dba6aaf43460314d3bd389a35da1de0cce290b1f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/usb/serial/usb-serial.c
 +++ b/drivers/usb/serial/usb-serial.c
-@@ -61,6 +61,7 @@ static struct usb_driver usb_serial_driv
+@@ -62,6 +62,7 @@ static struct usb_driver usb_serial_driv
     drivers depend on it.
  */
  
@@ -8,7 +8,7 @@
  static int debug;
  /* initially all NULL */
  static struct usb_serial *serial_table[SERIAL_TTY_MINORS];
-@@ -901,7 +902,7 @@ int usb_serial_probe(struct usb_interfac
+@@ -902,7 +903,7 @@ int usb_serial_probe(struct usb_interfac
                }
                buffer_size = serial->type->bulk_in_size;
                if (!buffer_size)
@@ -17,7 +17,7 @@
                port->bulk_in_size = buffer_size;
                port->bulk_in_endpointAddress = endpoint->bEndpointAddress;
                port->bulk_in_buffer = kmalloc(buffer_size, GFP_KERNEL);
-@@ -1373,3 +1374,5 @@ MODULE_LICENSE("GPL");
+@@ -1376,3 +1377,5 @@ MODULE_LICENSE("GPL");
  
  module_param(debug, bool, S_IRUGO | S_IWUSR);
  MODULE_PARM_DESC(debug, "Debug enabled or not");