Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bobby Powers and committed by
Linus Torvalds
10db4e1e d314d74c

+8 -1
+2
include/drm/drm_mode.h
··· 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
+3
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;
+1 -1
include/scsi/scsi_netlink.h
··· 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
+2
include/sound/compress_params.h
··· 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