diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-06 00:56:24 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-06 01:22:28 -0700 |
commit | 2e45e539a90afbfe572edc0f34ae367a080de360 (patch) | |
tree | bad2f3f546243e162f534231a7ff5599b0d8e871 /drivers/input/misc | |
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>
Diffstat (limited to 'drivers/input/misc')
-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 @@ #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> |