From: Sachin Kamat Date: Sun, 6 Oct 2013 07:56:24 +0000 (-0700) Subject: Input: rotary_encoder - include linux/of.h header X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2e45e539a90afbfe572edc0f34ae367a080de360;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Dmitry Torokhov --- 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 #include #include +#include #include #include