[PATCH] serial: TTY: new ldiscs for staging

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: pavan_savoy
Date: Thursday, April 8, 2010 - 11:16 am

From: Pavan Savoy <pavan_savoy@ti.com>

Push the max ldiscs by a few number to allow ldiscs
to exist in the staging directory

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
 include/linux/tty.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/tty.h b/include/linux/tty.h
index 4409967..227c0a8 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -23,7 +23,7 @@
  */
 #define NR_UNIX98_PTY_DEFAULT	4096      /* Default maximum for Unix98 ptys */
 #define NR_UNIX98_PTY_MAX	(1 << MINORBITS) /* Absolute limit */
-#define NR_LDISCS		20
+#define NR_LDISCS		25	/* add few ldiscs for staging */
 
 /* line disciplines */
 #define N_TTY		0
-- 
1.5.4.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
New ldisc for WiLink7.0, pavan_savoy, (Thu Apr 8, 11:16 am)
[PATCH] serial: TTY: new ldiscs for staging, pavan_savoy, (Thu Apr 8, 11:16 am)
[PATCH] drivers:staging: sources for ST core, pavan_savoy, (Thu Apr 8, 11:16 am)
[PATCH] drivers:staging: sources for ST header file, pavan_savoy, (Thu Apr 8, 11:16 am)
RE: [PATCH] serial: TTY: new ldiscs for staging, Savoy, Pavan, (Mon Apr 26, 2:56 pm)
Re: [PATCH] serial: TTY: new ldiscs for staging, Alan Cox, (Mon Apr 26, 2:59 pm)
Re: [PATCH] drivers:staging: sources for ST core, Alan Cox, (Mon Apr 26, 3:03 pm)
Re: [PATCH] serial: TTY: new ldiscs for staging, Alan Cox, (Mon Apr 26, 3:06 pm)