summaryrefslogtreecommitdiff
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-06 11:56:24 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-06 12:22:28 +0400
commit2e45e539a90afbfe572edc0f34ae367a080de360 (patch)
treebad2f3f546243e162f534231a7ff5599b0d8e871 /drivers/input/misc
parent9dbe4c326ecae28b5b917d21eeeef57251a9d1aa (diff)
downloadlinux-2e45e539a90afbfe572edc0f34ae367a080de360.tar.xz
Input: rotary_encoder - 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/misc')
-rw-r--r--drivers/input/misc/rotary_encoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c
index 5b1aff825138..f920ba7ab51f 100644
--- a/drivers/input/misc/rotary_encoder.c
+++ b/drivers/input/misc/rotary_encoder.c
@@ -24,6 +24,7 @@
#include <linux/gpio.h>
#include <linux/rotary_encoder.h>
#include <linux/slab.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>