summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_globals.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-06-26 17:40:12 +0300
committerJani Nikula <jani.nikula@intel.com>2019-06-27 10:50:32 +0300
commitf807d31a2174409c787e53fb6f0609d1b9783e3e (patch)
treebf85b613783688ad323d2a5f1a3c7c0eb69537b7 /drivers/gpu/drm/i915/i915_globals.h
parentc75299aea22a92abf5e097830915162655fb46b5 (diff)
drm/i915: make i915_globals.h self-contained
Add the minimal includes/declarations to make the header self-contained, and ensure it stays that way. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-6-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_globals.h')
-rw-r--r--drivers/gpu/drm/i915/i915_globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_globals.h b/drivers/gpu/drm/i915/i915_globals.h
index 04c1ce107fc0..2d199f411a4a 100644
--- a/drivers/gpu/drm/i915/i915_globals.h
+++ b/drivers/gpu/drm/i915/i915_globals.h
@@ -7,6 +7,8 @@
#ifndef _I915_GLOBALS_H_
#define _I915_GLOBALS_H_
+#include <linux/types.h>
+
typedef void (*i915_global_func_t)(void);
struct i915_global {