summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-01-30 14:29:53 (GMT)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-01-30 14:29:53 (GMT)
commitb852d36b86902abb272b0f2dd7a56dd2d17ea88c (patch)
tree69b70bcb7870e0f47ed9ac80fd7e0f8cfc6c2795
parent8996be9de98a9362a3192b866dd8ab9930e28ad9 (diff)
downloadlinux-b852d36b86902abb272b0f2dd7a56dd2d17ea88c.tar.xz
headers_check fix: dvb/video.h
fix the following 'make headers_check' warnings: usr/include/linux/dvb/video.h:29: include of <linux/types.h> is preferred over <asm/types.h> usr/include/linux/dvb/video.h:102: found __[us]{8,16,32,64} type without #include <linux/types.h> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
-rw-r--r--include/linux/dvb/video.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/dvb/video.h b/include/linux/dvb/video.h
index 50839fe..bd49c3e 100644
--- a/include/linux/dvb/video.h
+++ b/include/linux/dvb/video.h
@@ -24,17 +24,14 @@
#ifndef _DVBVIDEO_H_
#define _DVBVIDEO_H_
-#include <linux/compiler.h>
-
-#ifdef __KERNEL__
#include <linux/types.h>
+#ifdef __KERNEL__
+#include <linux/compiler.h>
#else
-#include <asm/types.h>
#include <stdint.h>
#include <time.h>
#endif
-
typedef enum {
VIDEO_FORMAT_4_3, /* Select 4:3 format */
VIDEO_FORMAT_16_9, /* Select 16:9 format. */