From 354fcf64b8b66b0974cc0c7656ea2b8b2c6576c6 Mon Sep 17 00:00:00 2001 From: kfx Date: Fri, 26 Oct 2012 17:10:46 +0800 Subject: [PATCH] rk2928_defconfig: update board-phonepad.c --- arch/arm/mach-rk2928/board-phonepad.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rk2928/board-phonepad.c b/arch/arm/mach-rk2928/board-phonepad.c index da0d766a4e6c..96540a4fdf40 100644 --- a/arch/arm/mach-rk2928/board-phonepad.c +++ b/arch/arm/mach-rk2928/board-phonepad.c @@ -1,5 +1,5 @@ #if defined(CONFIG_SC6610) -#include +#include #endif #if defined(CONFIG_MODEM_SOUND) #include "../../../drivers/misc/modem_sound.h" @@ -81,7 +81,7 @@ static int sc6610_io_deinit(void) return 0; } -struct rk29_mu509_data rk29_sc6610_info = { +struct rk29_sc6610_data rk29_sc6610_info = { .io_init = sc6610_io_init, .io_deinit = sc6610_io_deinit, }; @@ -142,6 +142,7 @@ static int rk_hook_io_init(int gpio, char *iomux_name, int iomux_mode) }; struct rk_headset_pdata rk_headset_info = { + .Hook_down_type = HOOK_DOWN_HIGH, .headset_in_type = HEADSET_IN_HIGH, .hook_key_code = KEY_MEDIA, .headset_gpio_info = {"null", 0}, -- 2.34.1