projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b11de
)
iio: adc: mcp3422: Include linux/of.h header
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 18 Oct 2013 12:04:00 +0000
(13:04 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 18 Oct 2013 19:05:56 +0000
(20:05 +0100)
'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>
drivers/iio/adc/mcp3422.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/mcp3422.c
b/drivers/iio/adc/mcp3422.c
index bc93f538cb1371d21f4aeb5a56b8129536ebc674..12948325431c98a1a01effc90d1bec0f6a564b50 100644
(file)
--- 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>