]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] paride-pt: register_chrdev fix
authorAndrew Morton <akpm@osdl.org>
Tue, 28 Mar 2006 09:56:18 +0000 (01:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:02 +0000 (09:16 -0800)
commitda8db1f554261009681db9efa7a176fbb3efaa7e
tree9673303b0141dd6330e2ead5970084260a80884c
parentd64b00f93cc77e582e167bf0b954f09e15725e18
[PATCH] paride-pt: register_chrdev fix

If the user specified `major=0' (odd thing to do), pt.c will use dynamic
allocation.  We need to pick up that major for subsequent unregister_chrdev().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/paride/pt.c