/* scsi_host_get - inc a Scsi_Host ref count @shost: Pointer to Scsi_Host to inc.  */
struct Scsi_Host* scsi_host_get(struct Scsi_Host *shost)
/* scsi_host_get - inc a Scsi_Host ref count @shost: Pointer to Scsi_Host to inc.  */
struct Scsi_Host* scsi_host_get(struct Scsi_Host *shost)
{
	if ((shost->shost_state == SHOST_DEL) ||
		!get_device(&shost->shost_gendev))
		return NULL;
	return shost;
}