Commit 10db4e1e authored by Bobby Powers's avatar Bobby Powers Committed by Linus Torvalds

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: default avatarBobby 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d314d74c
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef _DRM_MODE_H #ifndef _DRM_MODE_H
#define _DRM_MODE_H #define _DRM_MODE_H
#include <linux/types.h>
#define DRM_DISPLAY_INFO_LEN 32 #define DRM_DISPLAY_INFO_LEN 32
#define DRM_CONNECTOR_NAME_LEN 32 #define DRM_CONNECTOR_NAME_LEN 32
#define DRM_DISPLAY_MODE_LEN 32 #define DRM_DISPLAY_MODE_LEN 32
......
#ifndef LINUX_MMC_IOCTL_H #ifndef LINUX_MMC_IOCTL_H
#define LINUX_MMC_IOCTL_H #define LINUX_MMC_IOCTL_H
#include <linux/types.h>
struct mmc_ioc_cmd { struct mmc_ioc_cmd {
/* Implies direction of data. true = write, false = read */ /* Implies direction of data. true = write, false = read */
int write_flag; int write_flag;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#define SCSI_NETLINK_H #define SCSI_NETLINK_H
#include <linux/netlink.h> #include <linux/netlink.h>
#include <linux/types.h>
/* /*
* This file intended to be included by both kernel and user space * This file intended to be included by both kernel and user space
......
...@@ -51,6 +51,8 @@ ...@@ -51,6 +51,8 @@
#ifndef __SND_COMPRESS_PARAMS_H #ifndef __SND_COMPRESS_PARAMS_H
#define __SND_COMPRESS_PARAMS_H #define __SND_COMPRESS_PARAMS_H
#include <linux/types.h>
/* AUDIO CODECS SUPPORTED */ /* AUDIO CODECS SUPPORTED */
#define MAX_NUM_CODECS 32 #define MAX_NUM_CODECS 32
#define MAX_NUM_CODEC_DESCRIPTORS 32 #define MAX_NUM_CODEC_DESCRIPTORS 32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment