From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-iio@vger.kernel.org
Cc: jic23@kernel.org, sachin.kamat@linaro.org
Subject: [PATCH 4/4] iio: light: gp2ap020a00f: Include linux/of.h header
Date: Fri, 18 Oct 2013 17:34:57 +0530 [thread overview]
Message-ID: <1382097897-12818-4-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1382097897-12818-1-git-send-email-sachin.kamat@linaro.org>
'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>
---
drivers/iio/light/gp2ap020a00f.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c
index b1e4615..478eae1 100644
--- a/drivers/iio/light/gp2ap020a00f.c
+++ b/drivers/iio/light/gp2ap020a00f.c
@@ -42,6 +42,7 @@
#include <linux/irq_work.h>
#include <linux/module.h>
#include <linux/mutex.h>
+#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
--
1.7.9.5
next prev parent reply other threads:[~2013-10-18 12:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 12:04 [PATCH 1/4] iio: adc: mcp3422: Include linux/of.h header Sachin Kamat
2013-10-18 12:04 ` [PATCH 2/4] iio: adc: nau7802: " Sachin Kamat
2013-10-18 12:04 ` [PATCH 3/4] iio: adc: ti-adc081c: " Sachin Kamat
2013-10-18 12:04 ` Sachin Kamat [this message]
2013-10-18 19:06 ` [PATCH 1/4] iio: adc: mcp3422: " Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1382097897-12818-4-git-send-email-sachin.kamat@linaro.org \
--to=sachin.kamat@linaro.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).