[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)
commit829d5f68ec59ff7c0fdd472132680df8e4b64f3e
tree9673303b0141dd6330e2ead5970084260a80884c
parent8637980bab3f09157eef20cc65d2eb7393c770fd
[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