msm: rpm-smd: Implementation of the RPM protocol layer that use SMD
RPM messaging is now implemented using SMD as the transport layer to
communicate with RPM. This commit provides the APIs that would allow the
drivers to format drivers requests to support the new protocol.
Change-Id: Ie1e6683adc1a42dd8edd3e9847e272f0da7f4366
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-copper.c b/arch/arm/mach-msm/board-copper.c
index c28d172..f5fe3d1 100644
--- a/arch/arm/mach-msm/board-copper.c
+++ b/arch/arm/mach-msm/board-copper.c
@@ -39,6 +39,7 @@
#endif
#include <mach/msm_memtypes.h>
#include <mach/msm_smd.h>
+#include <mach/rpm-smd.h>
#include <mach/qpnp-int.h>
#include <mach/socinfo.h>
#include "clock.h"
@@ -448,6 +449,7 @@
void __init msm_copper_add_drivers(void)
{
msm_smd_init();
+ msm_rpm_driver_init();
msm_spm_device_init();
regulator_stub_init();
}