diff options
author | Bobby Powers <bobbypowers@gmail.com> | 2012-03-23 18:01:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 19:58:31 -0400 |
commit | 10db4e1e4e9a910a26b94045660e5ba7e7c71419 (patch) | |
tree | cd28bea676da081ceb76984867ecfb5559bbe70a | |
parent | d314d74c695f967e10598467a326f41c78ed1e20 (diff) |
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>
-rw-r--r-- | include/drm/drm_mode.h | 2 | ||||
-rw-r--r-- | include/linux/mmc/ioctl.h | 3 | ||||
-rw-r--r-- | include/scsi/scsi_netlink.h | 2 | ||||
-rw-r--r-- | include/sound/compress_params.h | 2 |
4 files changed, 8 insertions, 1 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 2a2acda8b437..4a0aae38e160 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h | |||
@@ -27,6 +27,8 @@ | |||
27 | #ifndef _DRM_MODE_H | 27 | #ifndef _DRM_MODE_H |
28 | #define _DRM_MODE_H | 28 | #define _DRM_MODE_H |
29 | 29 | ||
30 | #include <linux/types.h> | ||
31 | |||
30 | #define DRM_DISPLAY_INFO_LEN 32 | 32 | #define DRM_DISPLAY_INFO_LEN 32 |
31 | #define DRM_CONNECTOR_NAME_LEN 32 | 33 | #define DRM_CONNECTOR_NAME_LEN 32 |
32 | #define DRM_DISPLAY_MODE_LEN 32 | 34 | #define DRM_DISPLAY_MODE_LEN 32 |
diff --git a/include/linux/mmc/ioctl.h b/include/linux/mmc/ioctl.h index 8fa5bc5f8059..1f5e68923929 100644 --- a/include/linux/mmc/ioctl.h +++ b/include/linux/mmc/ioctl.h | |||
@@ -1,5 +1,8 @@ | |||
1 | #ifndef LINUX_MMC_IOCTL_H | 1 | #ifndef LINUX_MMC_IOCTL_H |
2 | #define LINUX_MMC_IOCTL_H | 2 | #define LINUX_MMC_IOCTL_H |
3 | |||
4 | #include <linux/types.h> | ||
5 | |||
3 | struct mmc_ioc_cmd { | 6 | struct mmc_ioc_cmd { |
4 | /* Implies direction of data. true = write, false = read */ | 7 | /* Implies direction of data. true = write, false = read */ |
5 | int write_flag; | 8 | int write_flag; |
diff --git a/include/scsi/scsi_netlink.h b/include/scsi/scsi_netlink.h index 58ce8fe44783..5cb20ccb1956 100644 --- a/include/scsi/scsi_netlink.h +++ b/include/scsi/scsi_netlink.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #define SCSI_NETLINK_H | 23 | #define SCSI_NETLINK_H |
24 | 24 | ||
25 | #include <linux/netlink.h> | 25 | #include <linux/netlink.h> |
26 | 26 | #include <linux/types.h> | |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * This file intended to be included by both kernel and user space | 29 | * This file intended to be included by both kernel and user space |
diff --git a/include/sound/compress_params.h b/include/sound/compress_params.h index d97d69f81a7d..da4a456de032 100644 --- a/include/sound/compress_params.h +++ b/include/sound/compress_params.h | |||
@@ -51,6 +51,8 @@ | |||
51 | #ifndef __SND_COMPRESS_PARAMS_H | 51 | #ifndef __SND_COMPRESS_PARAMS_H |
52 | #define __SND_COMPRESS_PARAMS_H | 52 | #define __SND_COMPRESS_PARAMS_H |
53 | 53 | ||
54 | #include <linux/types.h> | ||
55 | |||
54 | /* AUDIO CODECS SUPPORTED */ | 56 | /* AUDIO CODECS SUPPORTED */ |
55 | #define MAX_NUM_CODECS 32 | 57 | #define MAX_NUM_CODECS 32 |
56 | #define MAX_NUM_CODEC_DESCRIPTORS 32 | 58 | #define MAX_NUM_CODEC_DESCRIPTORS 32 |