[PATCH] paride: 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)
commit8637980bab3f09157eef20cc65d2eb7393c770fd
tree0e9a99bc983a67edc3b3017f4a45a695674cd17e
parenta687fb18cbd061de2092632cf77e6b9dc93cf7cd
[PATCH] paride: register_chrdev fix

If the user specified `major=0' (odd thing to do), pg.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/pg.c