msm: board-9615: add gpio-regulator wrapper around GPIO 18

Add a gpio-regulator device to control GPIO 18.  This GPIO is
used as the enable signal for the external 2.95 V regulator
used for the SD card on 9615 boards.

Change-Id: Ia3893fbdc49a7c0a7ac0d4ea1799274458b1d591
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-9615.h b/arch/arm/mach-msm/board-9615.h
index 0d9fae7..0f5adf0 100644
--- a/arch/arm/mach-msm/board-9615.h
+++ b/arch/arm/mach-msm/board-9615.h
@@ -15,6 +15,7 @@
 
 #include <mach/irqs.h>
 #include <linux/mfd/pm8xxx/pm8018.h>
+#include <linux/regulator/gpio-regulator.h>
 
 /* Macros assume PMIC GPIOs and MPPs start at 1 */
 #define PM8018_GPIO_BASE		NR_GPIO_IRQS
@@ -32,4 +33,8 @@
 extern struct rpm_regulator_platform_data
 msm_rpm_regulator_9615_pdata __devinitdata;
 
+#define GPIO_VREG_ID_EXT_2P95V		0
+
+extern struct gpio_regulator_platform_data msm_gpio_regulator_pdata[];
+
 #endif