summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_mode.h
diff options
context:
space:
mode:
authorBobby Powers <bobbypowers@gmail.com>2012-03-23 23:01:51 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-24 00:58:31 +0100
commit10db4e1e4e9a910a26b94045660e5ba7e7c71419 (patch)
treecd28bea676da081ceb76984867ecfb5559bbe70a /include/drm/drm_mode.h
parentnmi watchdog: do not use cpp symbol in Kconfig (diff)
downloadlinux-10db4e1e4e9a910a26b94045660e5ba7e7c71419.tar.xz
linux-10db4e1e4e9a910a26b94045660e5ba7e7c71419.zip
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>
Diffstat (limited to 'include/drm/drm_mode.h')
-rw-r--r--include/drm/drm_mode.h2
1 files changed, 2 insertions, 0 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 @@
#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