diff options
Diffstat (limited to 'drivers/input/keyboard/gpio_keys.c')
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 6a9ca4bdcb74..bbd00c3fe98c 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -43,10 +43,11 @@ static irqreturn_t gpio_keys_isr(int irq, void *dev_id) | |||
43 | 43 | ||
44 | input_event(input, type, button->code, !!state); | 44 | input_event(input, type, button->code, !!state); |
45 | input_sync(input); | 45 | input_sync(input); |
46 | return IRQ_HANDLED; | ||
46 | } | 47 | } |
47 | } | 48 | } |
48 | 49 | ||
49 | return IRQ_HANDLED; | 50 | return IRQ_NONE; |
50 | } | 51 | } |
51 | 52 | ||
52 | static int __devinit gpio_keys_probe(struct platform_device *pdev) | 53 | static int __devinit gpio_keys_probe(struct platform_device *pdev) |
@@ -213,6 +214,7 @@ struct platform_driver gpio_keys_device_driver = { | |||
213 | .resume = gpio_keys_resume, | 214 | .resume = gpio_keys_resume, |
214 | .driver = { | 215 | .driver = { |
215 | .name = "gpio-keys", | 216 | .name = "gpio-keys", |
217 | .owner = THIS_MODULE, | ||
216 | } | 218 | } |
217 | }; | 219 | }; |
218 | 220 | ||
@@ -232,3 +234,4 @@ module_exit(gpio_keys_exit); | |||
232 | MODULE_LICENSE("GPL"); | 234 | MODULE_LICENSE("GPL"); |
233 | MODULE_AUTHOR("Phil Blundell <pb@handhelds.org>"); | 235 | MODULE_AUTHOR("Phil Blundell <pb@handhelds.org>"); |
234 | MODULE_DESCRIPTION("Keyboard driver for CPU GPIOs"); | 236 | MODULE_DESCRIPTION("Keyboard driver for CPU GPIOs"); |
237 | MODULE_ALIAS("platform:gpio-keys"); | ||