summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 13:04:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-10-18 20:05:56 +0100
commitde36d817b4ecf0dabec6ec7448b4d13fa347ffb5 (patch)
tree074f5917981fe19cac8770decb80bde93943980c /drivers/iio
parentc8b11de0404d318c4a67bf6b9066663b9d93786c (diff)
iio: adc: mcp3422: 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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/mcp3422.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
index bc93f538cb13..12948325431c 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>