aboutsummaryrefslogtreecommitdiffstats
path: root/usb-serial-idr.patch
diff options
Diffstat (limited to 'usb-serial-idr.patch')
-rw-r--r--usb-serial-idr.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/usb-serial-idr.patch b/usb-serial-idr.patch
index be364cb08ddf02..1b5f43e5d737a9 100644
--- a/usb-serial-idr.patch
+++ b/usb-serial-idr.patch
@@ -2,7 +2,7 @@ From foo@baz Tue Jun 4 12:06:11 PDT 2013
Date: Tue, 04 Jun 2013 12:06:11 -0700
To: Greg KH <gregkh@linuxfoundation.org>
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Subject: [PATCH 2/2] USB: serial: make minor allocation dynamic
+Subject: [PATCH 2/3] USB: serial: make minor allocation dynamic
This moves the allocation of minor device numbers from a static array to
be dynamic, using the idr interface. This means that you could
@@ -155,7 +155,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mutex_unlock(&table_lock);
}
-@@ -1042,7 +1047,7 @@ static int usb_serial_probe(struct usb_i
+@@ -1040,7 +1045,7 @@ static int usb_serial_probe(struct usb_i
*/
serial->disconnected = 1;
@@ -164,7 +164,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dev_err(ddev, "No more free serial devices\n");
goto probe_error;
}
-@@ -1226,7 +1231,6 @@ static struct usb_driver usb_serial_driv
+@@ -1224,7 +1229,6 @@ static struct usb_driver usb_serial_driv
static int __init usb_serial_init(void)
{
@@ -172,7 +172,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
int result;
usb_serial_tty_driver = alloc_tty_driver(SERIAL_TTY_MINORS);
-@@ -1234,9 +1238,6 @@ static int __init usb_serial_init(void)
+@@ -1232,9 +1236,6 @@ static int __init usb_serial_init(void)
return -ENOMEM;
/* Initialize our global data */