/* scsi_scan_host - scan the given adapter @shost: adapter to scan  */
void scsi_scan_host(struct Scsi_Host *shost)
/* scsi_scan_host - scan the given adapter @shost: adapter to scan  */
void scsi_scan_host(struct Scsi_Host *shost)
{
	struct task_struct *p;
	struct async_scan_data *data;
	if (strncmp(scsi_scan_type, "none", 4) == 0)
		return;
	data = scsi_prep_async_scan(shost);
	if (!data) {
		do_scsi_scan_host(shost);
		return;
	}
	p = kthread_run(do_scan_async, data, "scsi_scan_%d", shost->host_no);
	if (IS_ERR(p))
		do_scan_async(data);
}