From eef4b73c8758a2e43d2cf0369559712276a7c0ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=82=B1=E5=BB=BA=E6=96=8C?= Date: Thu, 1 Dec 2011 16:51:17 +0800 Subject: [PATCH] a22/td8801: board add include file --- arch/arm/mach-rk29/board-rk29-a22.c | 6 ++++++ arch/arm/mach-rk29/board-rk29-td8801_v2.c | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm/mach-rk29/board-rk29-a22.c b/arch/arm/mach-rk29/board-rk29-a22.c index 69c3e2c03d07..2601ee64f91d 100755 --- a/arch/arm/mach-rk29/board-rk29-a22.c +++ b/arch/arm/mach-rk29/board-rk29-a22.c @@ -54,6 +54,7 @@ #include #include #include +#include #include #include @@ -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 diff --git a/arch/arm/mach-rk29/board-rk29-td8801_v2.c b/arch/arm/mach-rk29/board-rk29-td8801_v2.c index 6febb46caadf..2771d66c2959 100755 --- a/arch/arm/mach-rk29/board-rk29-td8801_v2.c +++ b/arch/arm/mach-rk29/board-rk29-td8801_v2.c @@ -59,6 +59,8 @@ #include #include "devices.h" +#include +#include #if defined(CONFIG_TDSC8800) #include @@ -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 -- 2.34.1