Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8574ac690eab730a3ff735177af1d52e45e36c8b
Commit:     8574ac690eab730a3ff735177af1d52e45e36c8b
Parent:     67d52e29032dd2f21d4080331f47a21205f337f6
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 24 15:49:33 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:04:24 2008 -0200

    V4L/DVB (6921): include/media/v4l2-i2c-drv.h must #include 
<media/v4l2-common.h>
    
    Fix the following compiler error:
    
    v4l2-i2c-drv.h:72: error: implicit declaration of function 'v4l2_i2c_attach'
    
    Also, prevent multiple inclusions of v4l2-i2c-drv.h
    
    Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 include/media/v4l2-i2c-drv.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/include/media/v4l2-i2c-drv.h b/include/media/v4l2-i2c-drv.h
index d758b76..9e4bab2 100644
--- a/include/media/v4l2-i2c-drv.h
+++ b/include/media/v4l2-i2c-drv.h
@@ -21,6 +21,11 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#ifndef __V4L2_I2C_DRV_H__
+#define __V4L2_I2C_DRV_H__
+
+#include <media/v4l2-common.h>
+
 struct v4l2_i2c_driver_data {
        const char * const name;
        int driverid;
@@ -59,3 +64,5 @@ static void __exit v4l2_i2c_drv_cleanup(void)
 
 module_init(v4l2_i2c_drv_init);
 module_exit(v4l2_i2c_drv_cleanup);
+
+#endif /* __V4L2_I2C_DRV_H__ */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to