diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 08:04:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-18 15:05:56 -0400 |
commit | de36d817b4ecf0dabec6ec7448b4d13fa347ffb5 (patch) | |
tree | 074f5917981fe19cac8770decb80bde93943980c /drivers/iio/adc/mcp3422.c | |
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/adc/mcp3422.c')
-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 @@ | |||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/sysfs.h> | 22 | #include <linux/sysfs.h> |
23 | #include <linux/of.h> | ||
23 | 24 | ||
24 | #include <linux/iio/iio.h> | 25 | #include <linux/iio/iio.h> |
25 | #include <linux/iio/sysfs.h> | 26 | #include <linux/iio/sysfs.h> |