Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42748323 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

msm: board-krypton: add rpm controlled regulator support



Add a call to rpm_regulator_smd_driver_init() in the
msmkrypton_add_drivers() function so that the rpm regulator devices
are probed in the correct order (before other devices).

Change-Id: Icbc603fc53573526124fd9b8b49533ae3dacc439
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent c936945a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include <mach/msm_memtypes.h>
#include <mach/msm_smd.h>
#include <mach/rpm-smd.h>
#include <mach/rpm-regulator-smd.h>
#include <mach/restart.h>
#include <mach/socinfo.h>
#include <mach/clk-provider.h>
@@ -68,6 +69,7 @@ void __init msmkrypton_add_drivers(void)
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	rpm_regulator_smd_driver_init();
	msm_clock_init(&msmkrypton_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();