diff options
author | Xinyu Chen <xinyu.chen@freescale.com> | 2010-12-08 15:59:34 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2010-12-08 15:59:34 +0800 |
commit | d91661b8d19685af1c63e85ab677cb22a5a9fc14 (patch) | |
tree | f45b68b94fe2088f377ccca54d5ac02c88512caa | |
parent | 1e453ad5b660d4e4f001011a6f415ed72b6ce9b8 (diff) |
ENGR00136097-2 mx50 rdp: add support to addon board's power key event
Register the PWRON3 event when probe the power key device.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
-rw-r--r-- | arch/arm/mach-mx5/mx50_rdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/mx50_rdp.c b/arch/arm/mach-mx5/mx50_rdp.c index 8e974c7f4d9..c934483e44f 100644 --- a/arch/arm/mach-mx5/mx50_rdp.c +++ b/arch/arm/mach-mx5/mx50_rdp.c @@ -1173,6 +1173,7 @@ static void mxc_register_powerkey(key_press_call_back kp_cb, void *param) power_key_event.param = param; power_key_event.func = (void *)kp_cb; pmic_event_subscribe(EVENT_PWRONI, power_key_event); + pmic_event_subscribe(EVENT_PWRON3I, power_key_event); } static struct power_key_platform_data pwrkey_data = { |