summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/gpio_keys.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-06 09:55:14 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-06 10:22:27 +0200
commit415a4caae91c42fa1f6b79f8b503e0814d847b69 (patch)
treeb2563e7dc6e50ef8240706d774719bd6da451a64 /drivers/input/keyboard/gpio_keys.c
parentInput: ti_am335x_tsc - remove redundant of_match_ptr (diff)
downloadlinux-415a4caae91c42fa1f6b79f8b503e0814d847b69.tar.xz
linux-415a4caae91c42fa1f6b79f8b503e0814d847b69.zip
Input: gpio_keys - 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/keyboard/gpio_keys.c')
-rw-r--r--drivers/input/keyboard/gpio_keys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index 440ce32462ba..2db13246eb8e 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -26,6 +26,7 @@
#include <linux/gpio_keys.h>
#include <linux/workqueue.h>
#include <linux/gpio.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>
#include <linux/spinlock.h>