/* This is a simple module to wait until all the async scans are complete. The idea is to use it in initrd/initramfs scripts. You modprobe it after all the modprobes of the root SCSI drivers and it will wait until they have all finished scanning their busses before allowing the boot to proceed  */
static int __init wait_scan_init(void)
/* This is a simple module to wait until all the async scans are complete. The idea is to use it in initrd/initramfs scripts. You modprobe it after all the modprobes of the root SCSI drivers and it will wait until they have all finished scanning their busses before allowing the boot to proceed  */
static int __init wait_scan_init(void)
{
	wait_for_device_probe();
	scsi_complete_async_scans();
	return 0;
}