diff options
| -rw-r--r-- | drivers/input/misc/sirfsoc-onkey.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index 4d66c723cf08..e4104f9b2e6d 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c | |||
| @@ -136,6 +136,7 @@ static int sirfsoc_pwrc_probe(struct platform_device *pdev) | |||
| 136 | pwrcdrv->input->name = "sirfsoc pwrckey"; | 136 | pwrcdrv->input->name = "sirfsoc pwrckey"; |
| 137 | pwrcdrv->input->phys = "pwrc/input0"; | 137 | pwrcdrv->input->phys = "pwrc/input0"; |
| 138 | pwrcdrv->input->evbit[0] = BIT_MASK(EV_KEY); | 138 | pwrcdrv->input->evbit[0] = BIT_MASK(EV_KEY); |
| 139 | input_set_capability(pwrcdrv->input, EV_KEY, KEY_POWER); | ||
| 139 | 140 | ||
| 140 | INIT_DELAYED_WORK(&pwrcdrv->work, sirfsoc_pwrc_report_event); | 141 | INIT_DELAYED_WORK(&pwrcdrv->work, sirfsoc_pwrc_report_event); |
| 141 | 142 | ||
