Skip to content

Commit

Permalink
headers_check fix: dvb/video.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh Rajput committed Jan 30, 2009
1 parent 8996be9 commit b852d36
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions include/linux/dvb/video.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit b852d36

Please sign in to comment.