]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/usb/serial.h
usb-serial: don't release unregistered minors
[karo-tx-linux.git] / include / linux / usb / serial.h
index 8f891cbaf9abd497f990e5ae68eabb8d2ae99971..4a6583d95a8eb2cfc1f1427a920ab7a85d66c9ed 100644 (file)
@@ -17,7 +17,8 @@
 #include <linux/mutex.h>
 
 #define SERIAL_TTY_MAJOR       188     /* Nice legal number now */
-#define SERIAL_TTY_MINORS      255     /* loads of devices :) */
+#define SERIAL_TTY_MINORS      254     /* loads of devices :) */
+#define SERIAL_TTY_NO_MINOR    255     /* No minor was assigned */
 
 /* The maximum number of ports one device can grab at once */
 #define MAX_NUM_PORTS          8