msm: acpuclock-8930: Support PMIC 8917

If the PMIC 8917 device is detected, then enable s8 regulator
before turning on the l23 hfpll regulator.

Use platform_data to indicate presence of pm8917.

Change-Id: Ic39b460d6de14d37b9ca477494c35d90c9468780
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
(cherry picked from commit 037d49156df9c34068c0942489c8ba24c52a4ad6)
diff --git a/arch/arm/mach-msm/acpuclock-krait.h b/arch/arm/mach-msm/acpuclock-krait.h
index 10be5ef..1d0be98 100644
--- a/arch/arm/mach-msm/acpuclock-krait.h
+++ b/arch/arm/mach-msm/acpuclock-krait.h
@@ -253,9 +253,16 @@
 };
 
 /**
+ * struct acpuclk_platform_data - PMIC configuration data.
+ * @uses_pm8917: Boolean indicates presence of pm8917.
+ */
+struct acpuclk_platform_data {
+	bool uses_pm8917;
+};
+
+/**
  * acpuclk_krait_init - Initialize the Krait CPU clock driver give SoC params.
  */
 extern int acpuclk_krait_init(struct device *dev,
 			      const struct acpuclk_krait_params *params);
-
 #endif