projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fd02d
)
[media] mt9p031: Include linux/of.h header
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 18 Oct 2013 03:07:11 +0000
(
00:07
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 3 Dec 2013 16:31:14 +0000
(14:31 -0200)
'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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/mt9p031.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/i2c/mt9p031.c
b/drivers/media/i2c/mt9p031.c
index 4734836fe5a410c8cf4249d9c455f5ceaf4b627c..1c2303d18bf49db242c00ac0cab8a474843c6db1 100644
(file)
--- a/
drivers/media/i2c/mt9p031.c
+++ b/
drivers/media/i2c/mt9p031.c
@@
-19,6
+19,7
@@
#include <linux/i2c.h>
#include <linux/log2.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/of_gpio.h>
#include <linux/pm.h>
#include <linux/regulator/consumer.h>