msm: board-copper: Select dummy clocks for the RUMI target
The copper clock driver does not apply to the copper RUMI
target. Use the dummy clocks on the RUMI instead.
Change-Id: I8520b3bfcf4ae6715a0cb630ec253ef0afc188c3
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-copper.c b/arch/arm/mach-msm/board-copper.c
index f9ecc84f..e545f12 100644
--- a/arch/arm/mach-msm/board-copper.c
+++ b/arch/arm/mach-msm/board-copper.c
@@ -39,6 +39,7 @@
 #include <mach/msm_memtypes.h>
 #include <mach/msm_smd.h>
 #include <mach/qpnp-int.h>
+#include <mach/socinfo.h>
 #include "clock.h"
 #include "devices.h"
 
@@ -472,7 +473,11 @@
 void __init msm_copper_init(struct of_dev_auxdata **adata)
 {
 	msm_copper_init_gpiomux();
-	msm_clock_init(&msmcopper_clock_init_data);
+
+	if (machine_is_copper_rumi())
+		msm_clock_init(&msm_dummy_clock_init_data);
+	else
+		msm_clock_init(&msmcopper_clock_init_data);
 
 	*adata = msm_copper_auxdata_lookup;
 }