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:
62ba493
)
iio: adc: ti-adc081c: 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/ti-adc081c.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/ti-adc081c.c
b/drivers/iio/adc/ti-adc081c.c
index ee5f72bffe5a8f993276d480ba5a65e685ada659..b3a82b4d1a7587b586077982f27856dcfdb7dee5 100644
(file)
--- a/
drivers/iio/adc/ti-adc081c.c
+++ b/
drivers/iio/adc/ti-adc081c.c
@@
-9,6
+9,7
@@
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/iio/iio.h>
#include <linux/regulator/consumer.h>