headers: include linux/types.h where appropriate
authorBobby Powers <bobbypowers@gmail.com>
Fri, 23 Mar 2012 22:01:51 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:31 +0000 (16:58 -0700)
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>
include/drm/drm_mode.h
include/linux/mmc/ioctl.h
include/scsi/scsi_netlink.h
include/sound/compress_params.h

index 2a2acda8b437089222a6b1d1cad4aaed6d08ddbe..4a0aae38e1602481ad1f7c0f090e7d4b4532ba6f 100644 (file)
@@ -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
index 8fa5bc5f80590f2a56a4d121822494308bfdeac8..1f5e6892392981bbd06a60ee6e1ff91de223e85d 100644 (file)
@@ -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;
index 58ce8fe4478365484ac2d5ab2e7883efce83d114..5cb20ccb195606b9cc0fdac6869b2789c06e1649 100644 (file)
@@ -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
index d97d69f81a7d99665a214d19e552417820872d5e..da4a456de032fb24dd75132f033f8c104b1b710a 100644 (file)
@@ -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