diff options
author | Hu hui <b29976@freescale.com> | 2010-10-13 14:48:10 +0800 |
---|---|---|
committer | Hu Hui <b29976@freescale.com> | 2010-10-14 10:04:57 +0800 |
commit | 5325044f9f5bfdb8ab7f36cb78e347ffc1d326ef (patch) | |
tree | 11f3077a37864021dbbdee183afd6c5747881568 /arch/arm/mach-mx5/devices.c | |
parent | 6b0f3a58488964cbce3d96d5083c7c342ea86c14 (diff) |
ENGR00132553-1 Power: enable power on/off key as suspend/resume key
MSL Part
enable the powerkey as suspend/resume key on mx53evk and mx50 rdp
Signed-off-by: Hu Hui <b29976@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5/devices.c')
-rw-r--r-- | arch/arm/mach-mx5/devices.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices.c b/arch/arm/mach-mx5/devices.c index 5a4106c634aa..7685a83083c4 100644 --- a/arch/arm/mach-mx5/devices.c +++ b/arch/arm/mach-mx5/devices.c @@ -97,6 +97,10 @@ struct platform_device mxc_keypad_device = { .resource = mxc_kpp_resources, }; +struct platform_device mxc_powerkey_device = { + .name = "mxcpwrkey", + .id = 0, +}; static struct resource rtc_resources[] = { { .start = SRTC_BASE_ADDR, |