summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-06 00:55:33 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-06 01:22:27 -0700
commit278017030db78799055f5459ed9722568c9cf9e7 (patch)
treef45ddcedd987bedfd052ba23a8d80f40538c42fa /drivers/input
parent415a4caae91c42fa1f6b79f8b503e0814d847b69 (diff)
Input: gpio_keys_polled - include linux/of.h header
'of_match_ptr' is defined in linux/of.h. Include it explicitly. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/gpio_keys_polled.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c
index cd5ed9e22168..4e428199e580 100644
--- a/drivers/input/keyboard/gpio_keys_polled.c
+++ b/drivers/input/keyboard/gpio_keys_polled.c
@@ -25,6 +25,7 @@
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>