Skip to contentSkip to conversation

linux headers: include linux/types.h where appropriate

PATCH New Bobby Powers 1 participant 1 message Feb 24, 2012

Subsystems (5)
DRM drivers SCSI Sound DRM misc +1 more subsystems
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux headers: include linux/types.h where appropriate

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

---
 include/drm/drm_mode.h          |    2 ++
 include/linux/mmc/ioctl.h       |    3 +++
 include/scsi/scsi_netlink.h     |    2 +-
 include/sound/compress_params.h |    2 ++
 8 files changed, 16 insertions(+), 1 deletions(-)
include/drm/drm_mode.h +2 -0
index 2a2acda..4a0aae3 100644
@@ -27,6 +27,8 @@
 #ifndef _DRM_MODE_H
 #define _DRM_MODE_H
 
+#include <linux/types.h>
+
 #define DRM_DISPLAY_INFO_LEN	32
 #define DRM_CONNECTOR_NAME_LEN	32
 #define DRM_DISPLAY_MODE_LEN	32
include/linux/mmc/ioctl.h +3 -0
index 8fa5bc5..1f5e689 100644
@@ -1,5 +1,8 @@
 #ifndef LINUX_MMC_IOCTL_H
 #define LINUX_MMC_IOCTL_H
+
+#include <linux/types.h>
+
 struct mmc_ioc_cmd {
 	/* Implies direction of data.  true = write, false = read */
 	int write_flag;
include/scsi/scsi_netlink.h +1 -1
index 58ce8fe..5cb20cc 100644
@@ -23,7 +23,7 @@
 #define SCSI_NETLINK_H
 
 #include <linux/netlink.h>
-
+#include <linux/types.h>
 
 /*
  * This file intended to be included by both kernel and user space
include/sound/compress_params.h +2 -0
index d97d69f..da4a456 100644
@@ -51,6 +51,8 @@
 #ifndef __SND_COMPRESS_PARAMS_H
 #define __SND_COMPRESS_PARAMS_H
 
+#include <linux/types.h>
+
 /* AUDIO CODECS SUPPORTED */
 #define MAX_NUM_CODECS 32
 #define MAX_NUM_CODEC_DESCRIPTORS 32
Signature · 1 line
1.7.7.6