msm: board-copper: Initialize modem_notifier driver during early board init
The modem_notifier driver is a dependency for the SMD driver, which in
turn is a dependency for the power management framework. All the
dependencies of the power management framework need to be in the early
board init.
Change-Id: I0eafdc0095304f38833527bb170713dba4ca0474
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-copper.c b/arch/arm/mach-msm/board-copper.c
index 614cfe2..4dda0b7 100644
--- a/arch/arm/mach-msm/board-copper.c
+++ b/arch/arm/mach-msm/board-copper.c
@@ -46,6 +46,7 @@
#include "clock.h"
#include "devices.h"
#include "spm.h"
+#include "modem_notifier.h"
#define MSM_KERNEL_EBI1_MEM_SIZE 0x280000
#ifdef CONFIG_FB_MSM_HDMI_AS_PRIMARY
@@ -457,6 +458,7 @@
*/
void __init msm_copper_add_drivers(void)
{
+ msm_init_modem_notifier_list();
msm_smd_init();
msm_rpm_driver_init();
rpm_regulator_smd_driver_init();