/* Wait for the initialization of devices to finish, to make sure we are done with our setup if the search for the root device starts.  */
static int __init channel_subsystem_init_sync(void)
/* Wait for the initialization of devices to finish, to make sure we are done with our setup if the search for the root device starts.  */
static int __init channel_subsystem_init_sync(void)
{
	css_schedule_eval_all();
	wait_event(css_eval_wq, atomic_read(&css_eval_scheduled) == 0);
	return bus_for_each_drv(&css_bus_type, NULL, NULL, css_settle);
}