Skip to content

Commit f88c316

Browse files
committed
Merge pull request #28 from vamanea/odroid-3.8.y
Enable USER key in Linux
2 parents e869e2d + 41c9f5f commit f88c316

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/arm/mach-exynos/mach-hkdk4412.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,15 @@ static struct gpio_keys_button hkdk4412_gpio_keys_tables[] = {
254254
.wakeup = 1,
255255
.debounce_interval = 1,
256256
},
257+
{
258+
.code = KEY_PROG1,
259+
.gpio = EXYNOS4_GPX2(2),
260+
.desc = "KEY_USER",
261+
.type = EV_KEY,
262+
.active_low = 1,
263+
.wakeup = 1,
264+
.debounce_interval = 1,
265+
},
257266
};
258267

259268
static struct gpio_keys_platform_data hkdk4412_gpio_keys_data = {

0 commit comments

Comments
 (0)