msm: board-copper: Call rpm-regulator-smd init function
Add a call to rpm_regulator_smd_driver_init() inside of
msm_copper_add_drivers(). This is used to guarantee that
drivers get probed in the correct order based upon inter-driver
dependencies.
Change-Id: I766109c9e71ba83a5637f87360886b005f96e1ae
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-copper.c b/arch/arm/mach-msm/board-copper.c
index f5fe3d1..843d603 100644
--- a/arch/arm/mach-msm/board-copper.c
+++ b/arch/arm/mach-msm/board-copper.c
@@ -40,6 +40,7 @@
#include <mach/msm_memtypes.h>
#include <mach/msm_smd.h>
#include <mach/rpm-smd.h>
+#include <mach/rpm-regulator-smd.h>
#include <mach/qpnp-int.h>
#include <mach/socinfo.h>
#include "clock.h"
@@ -450,6 +451,7 @@
{
msm_smd_init();
msm_rpm_driver_init();
+ rpm_regulator_smd_driver_init();
msm_spm_device_init();
regulator_stub_init();
}