summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorMaarten Brock <m.brock@vanmierlo.com>2016-02-16 18:59:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-07 16:11:14 -0800
commitacf5e6c88914333f8e1b66d9968c65112a97e846 (patch)
tree45d296ad944b0cf942c1dc0dce8304d0a863478e /drivers/tty
parente78240152bd4490c08a22986c9977fe870fc7c98 (diff)
downloadlinux-acf5e6c88914333f8e1b66d9968c65112a97e846.tar.gz
linux-acf5e6c88914333f8e1b66d9968c65112a97e846.tar.bz2
linux-acf5e6c88914333f8e1b66d9968c65112a97e846.zip
serial-uartlite: Enlarge maximum nr of devices to 16.
This device is ideal to use when you need a lot of uarts in your FPGA. Try not to force all those users to patch their kernel. Signed-off-by: Maarten Brock <m.brock@vanmierlo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/uartlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index ee2e8efdea4a..91f31ca971d0 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -28,7 +28,7 @@
#define ULITE_NAME "ttyUL"
#define ULITE_MAJOR 204
#define ULITE_MINOR 187
-#define ULITE_NR_UARTS 4
+#define ULITE_NR_UARTS 16
/* ---------------------------------------------------------------------
* Register definitions