diff options
| -rw-r--r-- | arch/arm/mach-pxa/tosa.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 33da99fa1ccf..9f3ef9eb32e3 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
| @@ -522,6 +522,14 @@ static struct gpio_keys_button tosa_gpio_keys[] = { | |||
| 522 | .wakeup = 1, | 522 | .wakeup = 1, |
| 523 | .active_low = 1, | 523 | .active_low = 1, |
| 524 | }, | 524 | }, |
| 525 | { | ||
| 526 | .type = EV_SW, | ||
| 527 | .code = SW_HEADPHONE_INSERT, | ||
| 528 | .gpio = TOSA_GPIO_EAR_IN, | ||
| 529 | .desc = "HeadPhone insert", | ||
| 530 | .active_low = 1, | ||
| 531 | .debounce_interval = 300, | ||
| 532 | }, | ||
| 525 | }; | 533 | }; |
| 526 | 534 | ||
| 527 | static struct gpio_keys_platform_data tosa_gpio_keys_platform_data = { | 535 | static struct gpio_keys_platform_data tosa_gpio_keys_platform_data = { |
