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 07/12] drivers: media: video: tm6000: tm6000.h: Include version.h header
Date
The output of "make versioncheck" told us that:

drivers/media/video/tm6000/tm6000.h: 401: need linux/version.h

If we take a look at the code, we can see the use of the macro
KERNEL_VERSION. So, we need this include.

In this patch too, the headers of the file were reordered in alphabetic
order. No functional changes here.

Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: <linux-media@vger.kernel.org >
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
drivers/media/video/tm6000/tm6000.h | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/media/video/tm6000/tm6000.h b/drivers/media/video/tm6000/tm6000.h
index 27ba659..e984cf2 100644
--- a/drivers/media/video/tm6000/tm6000.h
+++ b/drivers/media/video/tm6000/tm6000.h
@@ -20,18 +20,19 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

-#include <linux/videodev2.h>
-#include <media/v4l2-common.h>
-#include <media/videobuf-vmalloc.h>
-#include "tm6000-usb-isoc.h"
+#include <linux/dvb/frontend.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
+#include <linux/version.h>
+#include <linux/videodev2.h>
+#include <media/videobuf-vmalloc.h>
+#include <media/v4l2-common.h>
#include <media/v4l2-device.h>

-#include <linux/dvb/frontend.h>
+#include "dmxdev.h"
#include "dvb_demux.h"
#include "dvb_frontend.h"
-#include "dmxdev.h"
+#include "tm6000-usb-isoc.h"

#define TM6000_VERSION KERNEL_VERSION(0, 0, 2)

--
1.7.7.6


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