headers_check fix: dvb/video.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 14:29:53 +0000 (19:59 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 14:29:53 +0000 (19:59 +0530)
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>
include/linux/dvb/video.h

index 50839fe..bd49c3e 100644 (file)
 #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. */