コード例 #1
0
void __init msmkrypton_init(void)
{
	if (socinfo_init() < 0)
		pr_err("%s: socinfo_init() failed\n", __func__);

	msmkrypton_init_gpiomux();
	board_dt_populate(msmkrypton_auxdata_lookup);
	msmkrypton_add_drivers();
}
コード例 #2
0
void __init msmkrypton_init(void)
{
	/*
	 * populate devices from DT first so smem probe will get called as part
	 * of msm_smem_init.  socinfo_init needs smem support so call
	 * msm_smem_init before it.
	 */
	board_dt_populate(msmkrypton_auxdata_lookup);

	msm_smem_init();

	if (socinfo_init() < 0)
		pr_err("%s: socinfo_init() failed\n", __func__);

	msmkrypton_init_gpiomux();
	msmkrypton_add_drivers();
}