This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] ov5642: include module.h for its facilities
Author:  Stephen Rothwell <[email protected]>
Date:    Fri Jul 29 15:30:00 2011 +1000

drivers/media/video/ov5642.c:985:1: warning: data definition has no type or 
storage class
drivers/media/video/ov5642.c:985:1: warning: type defaults to 'int' in 
declaration of 'MODULE_DEVICE_TABLE'
drivers/media/video/ov5642.c:985:1: warning: parameter names (without types) in 
function declaration
drivers/media/video/ov5642.c: In function 'ov5642_mod_init':
drivers/media/video/ov5642.c:998:9: error: 'THIS_MODULE' undeclared (first use 
in this function)
drivers/media/video/ov5642.c:998:9: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/media/video/ov5642.c: At top level:
drivers/media/video/ov5642.c:1009:20: error: expected declaration specifiers or 
'...' before string constant
drivers/media/video/ov5642.c:1009:1: warning: data definition has no type or 
storage class
drivers/media/video/ov5642.c:1009:1: warning: type defaults to 'int' in 
declaration of 'MODULE_DESCRIPTION'
drivers/media/video/ov5642.c:1009:20: warning: function declaration isn't a 
prototype
drivers/media/video/ov5642.c:1010:15: error: expected declaration specifiers or 
'...' before string constant
drivers/media/video/ov5642.c:1010:1: warning: data definition has no type or 
storage class
drivers/media/video/ov5642.c:1010:1: warning: type defaults to 'int' in 
declaration of 'MODULE_AUTHOR'
drivers/media/video/ov5642.c:1010:15: warning: function declaration isn't a 
prototype
drivers/media/video/ov5642.c:1011:16: error: expected declaration specifiers or 
'...' before string constant
drivers/media/video/ov5642.c:1011:1: warning: data definition has no type or 
storage class
drivers/media/video/ov5642.c:1011:1: warning: type defaults to 'int' in 
declaration of 'MODULE_LICENSE'
drivers/media/video/ov5642.c:1011:16: warning: function declaration isn't a 
prototype
drivers/media/video/ov5642.c: In function 'ov5642_mod_init':
drivers/media/video/ov5642.c:999:1: warning: control reaches end of non-void 
function

Signed-off-by: Stephen Rothwell <[email protected]>

 drivers/media/video/ov5642.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=7b8dd79b337158221e215585b47ba1597406ccc9

diff --git a/drivers/media/video/ov5642.c b/drivers/media/video/ov5642.c
index 3cdae97..349a4ad 100644
--- a/drivers/media/video/ov5642.c
+++ b/drivers/media/video/ov5642.c
@@ -18,6 +18,7 @@
 #include <linux/i2c.h>
 #include <linux/slab.h>
 #include <linux/videodev2.h>
+#include <linux/module.h>
 
 #include <media/soc_camera.h>
 #include <media/soc_mediabus.h>

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to