]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] jsm: use dynamic major number allocation
authorV. ANANDA KRISHNAN <mansarov@us.ibm.com>
Wed, 27 Jul 2005 18:43:48 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:52 +0000 (16:25 -0700)
commit9539c1d495c8d92837e7b6382a1219ac275b94b2
treeb0371e81e678b391555ce2bfb118a0a3e5530bc8
parent49f29915856435ad8e34a4a3a907b09682a5826e
[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>
drivers/serial/jsm/jsm_driver.c