diff options
author | Sachin Kamat | 2013-10-18 13:04:00 +0100 |
---|---|---|
committer | Jonathan Cameron | 2013-10-18 20:05:56 +0100 |
commit | de36d817b4ecf0dabec6ec7448b4d13fa347ffb5 (patch) | |
tree | 074f5917981fe19cac8770decb80bde93943980c /drivers/iio | |
parent | c8b11de0404d318c4a67bf6b9066663b9d93786c (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.c | 1 |
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> |