Commit 10db4e1e4e9a910a26b94045660e5ba7e7c71419

Authored by Bobby Powers
Committed by Linus Torvalds
1 parent d314d74c69

headers: include linux/types.h where appropriate

This addresses some header check warnings.  DRM headers which include
"drm.h" have been excluded, as they indirectly include types.h.

Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
Cc: Chris Ball <cjb@laptop.org>
Cc: Dave Airlie <airlied@linux.ie>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 4 changed files with 8 additions and 1 deletions Side-by-side Diff

include/drm/drm_mode.h
... ... @@ -27,6 +27,8 @@
27 27 #ifndef _DRM_MODE_H
28 28 #define _DRM_MODE_H
29 29  
  30 +#include <linux/types.h>
  31 +
30 32 #define DRM_DISPLAY_INFO_LEN 32
31 33 #define DRM_CONNECTOR_NAME_LEN 32
32 34 #define DRM_DISPLAY_MODE_LEN 32
include/linux/mmc/ioctl.h
1 1 #ifndef LINUX_MMC_IOCTL_H
2 2 #define LINUX_MMC_IOCTL_H
  3 +
  4 +#include <linux/types.h>
  5 +
3 6 struct mmc_ioc_cmd {
4 7 /* Implies direction of data. true = write, false = read */
5 8 int write_flag;
include/scsi/scsi_netlink.h
... ... @@ -23,7 +23,7 @@
23 23 #define SCSI_NETLINK_H
24 24  
25 25 #include <linux/netlink.h>
26   -
  26 +#include <linux/types.h>
27 27  
28 28 /*
29 29 * This file intended to be included by both kernel and user space
include/sound/compress_params.h
... ... @@ -51,6 +51,8 @@
51 51 #ifndef __SND_COMPRESS_PARAMS_H
52 52 #define __SND_COMPRESS_PARAMS_H
53 53  
  54 +#include <linux/types.h>
  55 +
54 56 /* AUDIO CODECS SUPPORTED */
55 57 #define MAX_NUM_CODECS 32
56 58 #define MAX_NUM_CODEC_DESCRIPTORS 32