Add a new gpio butoon to indicate a human body near.
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..39a7724 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},
+ {SW_FRONT_PROXIMITY, -1, 1, "SW_FRONT_PROXIMITY", EV_SW, 0, 20},
};
static struct gpio_keys_platform_data mrst_gpio_keys = {
--
1.7.0.4
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel