summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 14:04:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-10-18 21:05:56 +0200
commit62ba493ea49a49bcef5888ef9788b1448088b96a (patch)
treeeb51e031aa2cf9562fd4d0f94b13a316110eb92e /drivers/iio/adc
parentiio: adc: mcp3422: Include linux/of.h header (diff)
downloadlinux-62ba493ea49a49bcef5888ef9788b1448088b96a.tar.xz
linux-62ba493ea49a49bcef5888ef9788b1448088b96a.zip
iio: adc: nau7802: 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> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/nau7802.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/nau7802.c b/drivers/iio/adc/nau7802.c
index bdf03468f3b8..adff9cbbcbc4 100644
--- a/drivers/iio/adc/nau7802.c
+++ b/drivers/iio/adc/nau7802.c
@@ -12,6 +12,7 @@
#include <linux/module.h>
#include <linux/wait.h>
#include <linux/log2.h>
+#include <linux/of.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>