diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 13:04:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-18 20:05:56 +0100 |
commit | 62ba493ea49a49bcef5888ef9788b1448088b96a (patch) | |
tree | eb51e031aa2cf9562fd4d0f94b13a316110eb92e /drivers | |
parent | de36d817b4ecf0dabec6ec7448b4d13fa347ffb5 (diff) | |
download | op-kernel-dev-62ba493ea49a49bcef5888ef9788b1448088b96a.zip op-kernel-dev-62ba493ea49a49bcef5888ef9788b1448088b96a.tar.gz |
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')
-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 bdf0346..adff9cb 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> |