From: Johan Hovold Date: Mon, 18 May 2015 15:34:12 +0000 (+0200) Subject: USB: cdc-acm: add support for up to 256 devices X-Git-Tag: v4.2-rc1~86^2~33 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=65c35dd59002798cc87212d23ff3c87fd3a5d721;p=karo-tx-linux.git USB: cdc-acm: add support for up to 256 devices Increase the minor range to enable support for up to 256 devices. Some people are hitting the current 32 device limit. Hopefully 256 minors will be enough for while still. Signed-off-by: Johan Hovold Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index ffeb3c83941f..a9e68ce25425 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h @@ -19,7 +19,7 @@ */ #define ACM_TTY_MAJOR 166 -#define ACM_TTY_MINORS 32 +#define ACM_TTY_MINORS 256 /* * Requests.