On Thu, 28 Apr 2011 23:32:24 +0800
Jekyll Lai <[email protected]> wrote:

> Add a new gpio-key, KEY_POWER, which owns different debounce time.
> 
> Signed-off-by: Jekyll Lai <[email protected]>
> ---
>  arch/x86/platform/mrst/mrst.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
> index 2c84de8..a268621 100644
> --- a/arch/x86/platform/mrst/mrst.c
> +++ b/arch/x86/platform/mrst/mrst.c
> @@ -1101,6 +1101,7 @@ static struct gpio_keys_button gpio_button[] = {
>       {SW_ROTATE_LOCK,        -1, 1, "rot_lock",      EV_SW,  0, 20},
>       {KEY_LEFTMETA,          -1, 1, "KEY_LEFTMETA",  EV_KEY, 0, 20},
>       {SW_ROTATE_LOCK,        -1, 1, "SW_ROTATE_LOCK",EV_SW,  0, 20},
> +     {KEY_POWER,             -1, 1, "KEY_POWER",     EV_KEY, 0, 20},
>  };
>  
>  static struct gpio_keys_platform_data mrst_gpio_keys = {

Is the plan to get rid of the old "power_btn" entry at some point
in the future?
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to