Skip to content

Commit

Permalink
Input: rotary_encoder - include linux/of.h header
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Sachin Kamat authored and Dmitry Torokhov committed Oct 6, 2013
1 parent 9dbe4c3 commit 2e45e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/misc/rotary_encoder.c
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 2e45e53

Please sign in to comment.