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:
de36d81
)
iio: adc: nau7802: 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>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/nau7802.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/nau7802.c
b/drivers/iio/adc/nau7802.c
index bdf03468f3b8d3e73417c3ad8d841b376d482a33..adff9cbbcbc4cc53260ab0c835d7a3a4cf36a9f3 100644
(file)
--- 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>