diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-06 03:56:24 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-06 04:22:28 -0400 |
commit | 2e45e539a90afbfe572edc0f34ae367a080de360 (patch) | |
tree | bad2f3f546243e162f534231a7ff5599b0d8e871 | |
parent | 9dbe4c326ecae28b5b917d21eeeef57251a9d1aa (diff) |
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>
-rw-r--r-- | drivers/input/misc/rotary_encoder.c | 1 |
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 @@ | |||
24 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
25 | #include <linux/rotary_encoder.h> | 25 | #include <linux/rotary_encoder.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/of.h> | ||
27 | #include <linux/of_platform.h> | 28 | #include <linux/of_platform.h> |
28 | #include <linux/of_gpio.h> | 29 | #include <linux/of_gpio.h> |
29 | 30 | ||