diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 14:04:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-18 21:05:56 +0200 |
commit | 62ba493ea49a49bcef5888ef9788b1448088b96a (patch) | |
tree | eb51e031aa2cf9562fd4d0f94b13a316110eb92e | |
parent | iio: adc: mcp3422: Include linux/of.h header (diff) | |
download | linux-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>
-rw-r--r-- | drivers/iio/adc/nau7802.c | 1 |
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> |