Skip to content
Browse files

mach-herring.c: if CONFIG_GALAXYS_GT_I9000 is not set, it may break b…

…uild because of "},". fixed it.
  • Loading branch information...
1 parent d74b21f commit 36b50b068cce89517398f2f319ffb0fc71ba54ef @codeworkx codeworkx committed Dec 21, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 arch/arm/mach-s5pv210/mach-herring.c
View
12 arch/arm/mach-s5pv210/mach-herring.c
@@ -1207,6 +1207,12 @@ static struct gpio_event_direct_entry herring_keypad_key_map[] = {
.gpio = S5PV210_GPH2(6),
.code = KEY_POWER,
},
+#ifdef CONFIG_GALAXYS_GT_I9000
+ {
+ .gpio = S5PV210_GPH3(5),
+ .code = KEY_HOME,
+ },
+#endif
#ifdef CONFIG_GALAXYS_SGH_T959
{
.gpio = S5PV210_GPH3(2),
@@ -1226,12 +1232,6 @@ static struct gpio_event_direct_entry herring_keypad_key_map[] = {
.code = KEY_VOLUMEUP,
},
#endif
-#ifdef CONFIG_GALAXYS_GT_I9000
- {
- .gpio = S5PV210_GPH3(5),
- .code = KEY_HOME,
- },
-#endif
};
static struct gpio_event_input_info herring_keypad_key_info = {

0 comments on commit 36b50b0

Please sign in to comment.
Something went wrong with that request. Please try again.