[SCSI] qla2xxx: Add char device to increase driver use count
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>
Tue, 4 May 2010 22:01:24 +0000 (15:01 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 16 May 2010 22:21:42 +0000 (18:21 -0400)
commit6a03b4cd78f3f2695a2d0e6343d555b3de0e67c1
treec86750452978aaadca184bbe39d1c969a3b776ab
parent3e46f031322bdd8d1f11e17fb7cf00c38b08dd55
[SCSI] qla2xxx: Add char device to increase driver use count

The driver should not be unloaded if any application is using it.
To disallow driver unload, driver use count must be incremented.
Application uses this char device as handle and increases driver
use count to avoid possible driver unload.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c