projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbe4c3
)
Input: rotary_encoder - include linux/of.h header
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sun, 6 Oct 2013 07:56:24 +0000
(
00:56
-0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sun, 6 Oct 2013 08:22:28 +0000
(
01:22
-0700)
'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>
drivers/input/misc/rotary_encoder.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/rotary_encoder.c
b/drivers/input/misc/rotary_encoder.c
index 5b1aff825138a1b9db5d2b216f7389168bb7bf9f..f920ba7ab51f5e1399649fa75c158a3770ae86e7 100644
(file)
--- 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>