[Meego-kernel] [PATCH] mrst: change the name of SW_FRONT_PROXIMITY

Jekyll Lai jekyll.lai at gmail.com
Mon May 16 06:08:40 PDT 2011


Because of the restriction of SFI table, the name size should not
be longer than 15 characters.

Signed-off-by: Jekyll Lai <jekyll_lai at wistron.com>
---
 arch/x86/platform/mrst/mrst.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
index f289118..82c37e7 100644
--- a/arch/x86/platform/mrst/mrst.c
+++ b/arch/x86/platform/mrst/mrst.c
@@ -1102,7 +1102,7 @@ static struct gpio_keys_button gpio_button[] = {
 	{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},
-	{SW_FRONT_PROXIMITY,	-1, 1, "SW_FRONT_PROXIMITY", EV_SW,  0, 20},
+	{SW_FRONT_PROXIMITY,	-1, 1, "SW_PROXIMITY",	EV_SW,  0, 20},
 };
 
 static struct gpio_keys_platform_data mrst_gpio_keys = {
-- 
1.7.0.4



More information about the MeeGo-kernel mailing list