Message ID | 1354207561-24971-1-git-send-email-shc_work@mail.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index 32e5087..952c33d 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c @@ -245,7 +245,7 @@ static int gpio_keys_polled_probe(struct platform_device *pdev) input = poll_dev->input; - input->evbit[0] = BIT(EV_KEY); + input->evbit[0] = BIT(EV_KEY) | (pdata->rep ? BIT(EV_REP) : 0); input->name = pdev->name; input->phys = DRV_NAME"/input0"; input->dev.parent = &pdev->dev;
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> --- drivers/input/keyboard/gpio_keys_polled.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)