summaryrefslogtreecommitdiffstats
path: root/drivers/serial/jsm/jsm_driver.c
diff options
context:
space:
mode:
authorV. ANANDA KRISHNAN <mansarov@us.ibm.com>2005-07-27 20:43:48 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 01:25:52 +0200
commit9539c1d495c8d92837e7b6382a1219ac275b94b2 (patch)
treeb0371e81e678b391555ce2bfb118a0a3e5530bc8 /drivers/serial/jsm/jsm_driver.c
parent[PATCH] i4l: add Olitec ISDN PCI card in hisax gazel driver (diff)
downloadlinux-9539c1d495c8d92837e7b6382a1219ac275b94b2.tar.xz
linux-9539c1d495c8d92837e7b6382a1219ac275b94b2.zip
[PATCH] jsm: use dynamic major number allocation
The jsm driver uses a static number of 253. The major number 253 is a reserved for "LOCAL/EXPERIMENTAL USE" by both char and block devices. So take advantage of the dynamic allocation of major number by the kernel. Signed-off-by: V. Ananda Krishnan <mansarov@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/serial/jsm/jsm_driver.c')
-rw-r--r--drivers/serial/jsm/jsm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/jsm/jsm_driver.c b/drivers/serial/jsm/jsm_driver.c
index cc5d21300ed3..963ebaa37fb1 100644
--- a/drivers/serial/jsm/jsm_driver.c
+++ b/drivers/serial/jsm/jsm_driver.c
@@ -42,7 +42,7 @@ struct uart_driver jsm_uart_driver = {
.owner = THIS_MODULE,
.driver_name = JSM_DRIVER_NAME,
.dev_name = "ttyn",
- .major = 253,
+ .major = 0,
.minor = JSM_MINOR_START,
.nr = NR_PORTS,
};