a22/td8801: board add include file
author邱建斌 <qjb@rock-chips.com>
Thu, 1 Dec 2011 08:51:17 +0000 (16:51 +0800)
committer邱建斌 <qjb@rock-chips.com>
Thu, 1 Dec 2011 08:51:17 +0000 (16:51 +0800)
arch/arm/mach-rk29/board-rk29-a22.c
arch/arm/mach-rk29/board-rk29-td8801_v2.c

index 69c3e2c03d071db2f9f70d4f9064f6bb13c7315d..2601ee64f91dd864a23469c8c9b84855bc7264bb 100755 (executable)
@@ -54,6 +54,7 @@
 #include <linux/mfd/wm831x/gpio.h>
 #include <linux/mfd/wm8994/pdata.h>
 #include <linux/mfd/wm8994/registers.h>
+#include <linux/regulator/fixed.h>
 
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
@@ -3112,6 +3113,11 @@ static struct platform_device *devices[] __initdata = {
         &rk29_device_iis_8ch,
 #endif
 
+#ifdef CONFIG_MFD_WM8994
+       &wm8994_fixed_voltage0,
+       &wm8994_fixed_voltage1,
+#endif
+
 #ifdef CONFIG_KEYS_RK29
        &rk29_device_keys,
 #endif
index 6febb46caadfb87463e49614db8a98fbb398f9a0..2771d66c2959c5fdc843302670b8612e0c57e10d 100755 (executable)
@@ -59,6 +59,8 @@
 #include <linux/mpu.h>
 #include "devices.h"
 
+#include <linux/regulator/fixed.h>
+#include <linux/mfd/wm8994/pdata.h>
 
 #if defined(CONFIG_TDSC8800)
 #include <linux/mtk23d.h>
@@ -3086,6 +3088,11 @@ static struct platform_device *devices[] __initdata = {
         &rk29_device_iis_8ch,
 #endif
 
+#ifdef CONFIG_MFD_WM8994
+       &wm8994_fixed_voltage0,
+       &wm8994_fixed_voltage1,
+#endif 
+
 #ifdef CONFIG_KEYS_RK29
        &rk29_device_keys,
 #endif