linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] iio: adc: mcp3422: Include linux/of.h header
@ 2013-10-18 12:04 Sachin Kamat
  2013-10-18 12:04 ` [PATCH 2/4] iio: adc: nau7802: " Sachin Kamat
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-10-18 12:04 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, sachin.kamat

'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/adc/mcp3422.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
index bc93f53..1294832 100644
--- a/drivers/iio/adc/mcp3422.c
+++ b/drivers/iio/adc/mcp3422.c
@@ -20,6 +20,7 @@
 #include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/sysfs.h>
+#include <linux/of.h>
 
 #include <linux/iio/iio.h>
 #include <linux/iio/sysfs.h>
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-18 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 4/4] iio: light: gp2ap020a00f: " Sachin Kamat
2013-10-18 19:06 ` [PATCH 1/4] iio: adc: mcp3422: " Jonathan Cameron

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).