summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 00:07:15 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-31 08:19:02 -0200
commit8ab1aa87f3f7381be195efcabf08dbc74626f25d (patch)
treefa9a98659371f88b0305f1293f93158de081ec6a
parentb91670a0e924078521a838b9e707e42012c5e76a (diff)
downloadblackbird-op-linux-8ab1aa87f3f7381be195efcabf08dbc74626f25d.tar.gz
blackbird-op-linux-8ab1aa87f3f7381be195efcabf08dbc74626f25d.zip
[media] gpio-ir-recv: Include linux/of.h header
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/rc/gpio-ir-recv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc/gpio-ir-recv.c
index 07aacfa5903d..80c611c2e8c2 100644
--- a/drivers/media/rc/gpio-ir-recv.c
+++ b/drivers/media/rc/gpio-ir-recv.c
@@ -16,6 +16,7 @@
#include <linux/interrupt.h>
#include <linux/gpio.h>
#include <linux/slab.h>
+#include <linux/of.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/irq.h>
OpenPOWER on IntegriCloud