From 48514c0ee3066467023f5c9ddc703e6d4454ddd0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=99=88=E6=99=BA?= Date: Thu, 23 Dec 2010 15:21:34 +0800 Subject: [PATCH] BT: rfkill is delete by other commit, so commit again --- arch/arm/mach-rk29/board-rk29sdk.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/mach-rk29/board-rk29sdk.c b/arch/arm/mach-rk29/board-rk29sdk.c index fa6fe26c67ae..d6357231e3c3 100755 --- a/arch/arm/mach-rk29/board-rk29sdk.c +++ b/arch/arm/mach-rk29/board-rk29sdk.c @@ -1092,6 +1092,14 @@ static struct platform_device rk29sdk_wifi_device = { }; #endif + +/* bluetooth rfkill device */ +static struct platform_device rk29sdk_rfkill = { + .name = "rk29sdk_rfkill", + .id = -1, +}; + + #ifdef CONFIG_VIVANTE static struct resource resources_gpu[] = { [0] = { @@ -1195,6 +1203,13 @@ static struct platform_device *devices[] __initdata = { #ifdef CONFIG_UART1_RK29 &rk29_device_uart1, #endif +#ifdef CONFIG_UART0_RK29 + &rk29_device_uart0, +#endif +#ifdef CONFIG_UART2_RK29 + &rk29_device_uart2, +#endif + #ifdef CONFIG_RK29_PWM_REGULATOR &rk29_device_pwm_regulator, #endif @@ -1244,6 +1259,11 @@ static struct platform_device *devices[] __initdata = { #ifdef CONFIG_WIFI_CONTROL_FUNC &rk29sdk_wifi_device, #endif + +#ifdef CONFIG_BT + &rk29sdk_rfkill, +#endif + #ifdef CONFIG_MTD_NAND_RK29 &rk29_device_nand, #endif -- 2.34.1