[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)
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

Simple merge
Simple merge