diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-06 09:56:24 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-06 10:22:28 +0200 |
commit | 2e45e539a90afbfe572edc0f34ae367a080de360 (patch) | |
tree | bad2f3f546243e162f534231a7ff5599b0d8e871 /drivers | |
parent | Input: pwm-beeper - include linux/of.h header (diff) | |
download | linux-2e45e539a90afbfe572edc0f34ae367a080de360.tar.xz linux-2e45e539a90afbfe572edc0f34ae367a080de360.zip |
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')
-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> |