lkml.org 
[lkml]   [2012]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 06/12] drivers: media: video: tlg2300: pd-video.c: Include version.h header
Date
The output of "make versioncheck" told us that:

drivers/media/video/tlg2300/pd-video.c: 1669: need linux/version.h

If we take a look at the code, we can see that this file uses the macro
KERNEL_VERSION. So, we need this include.

Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Huang Shijie <shijie8@gmail.com>
Cc: Kang Yong <kangyong@telegent.com>
Cc: Zhang Xiaobing <xbzhang@telegent.com>
Cc: <linux-media@vger.kernel.org>
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
drivers/media/video/tlg2300/pd-video.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/tlg2300/pd-video.c b/drivers/media/video/tlg2300/pd-video.c
index a794ae6..069db9a 100644
--- a/drivers/media/video/tlg2300/pd-video.c
+++ b/drivers/media/video/tlg2300/pd-video.c
@@ -5,6 +5,7 @@
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/slab.h>
+#include <linux/version.h>

#include <media/v4l2-ioctl.h>
#include <media/v4l2-dev.h>
--
1.7.7.6


\
 
 \ /
  Last update: 2012-04-18 22:37    [W:1.403 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site