[PATCH] tipar oops fix
authorDaniel Drake <dsd@gentoo.org>
Sun, 23 Apr 2006 22:43:59 +0000 (15:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 1 May 2006 19:03:42 +0000 (12:03 -0700)
commit7bd85bfa69293bf17511491d6ee3438956c0d1f9
tree9d467be0b89e5728842e88ebc09340dd2ed8947a
parent5e8273250e73d3e2c4e67d0480dcb54e972f5023
[PATCH] tipar oops fix

If compiled into the kernel, parport_register_driver() is called before the
parport driver has been initalised.

This means that it is expected that tp_count is 0 after the
parport_register_driver() call() - tipar's attach function will not be
called until later during bootup.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tipar.c