diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 16:04:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-18 23:05:56 +0400 |
commit | 62ba493ea49a49bcef5888ef9788b1448088b96a (patch) | |
tree | eb51e031aa2cf9562fd4d0f94b13a316110eb92e /drivers/iio/adc/nau7802.c | |
parent | de36d817b4ecf0dabec6ec7448b4d13fa347ffb5 (diff) | |
download | linux-62ba493ea49a49bcef5888ef9788b1448088b96a.tar.xz |
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/nau7802.c')
-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> |