summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_pvinfo.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-06-26 17:40:13 +0300
committerJani Nikula <jani.nikula@intel.com>2019-06-27 10:50:35 +0300
commitf8daf6418e3041ac967b45fc066539ba1eec5132 (patch)
tree658176135d7a2e30539a7a00207f14b590cd2c04 /drivers/gpu/drm/i915/i915_pvinfo.h
parentf807d31a2174409c787e53fb6f0609d1b9783e3e (diff)
downloadlinux-f8daf6418e3041ac967b45fc066539ba1eec5132.tar.xz
drm/i915: make i915_pvinfo.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-7-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pvinfo.h')
-rw-r--r--drivers/gpu/drm/i915/i915_pvinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_pvinfo.h b/drivers/gpu/drm/i915/i915_pvinfo.h
index ca4661e98f79..683e97ac2430 100644
--- a/drivers/gpu/drm/i915/i915_pvinfo.h
+++ b/drivers/gpu/drm/i915/i915_pvinfo.h
@@ -24,6 +24,8 @@
#ifndef _I915_PVINFO_H_
#define _I915_PVINFO_H_
+#include <linux/types.h>
+
/* The MMIO offset of the shared info between guest and host emulator */
#define VGT_PVINFO_PAGE 0x78000
#define VGT_PVINFO_SIZE 0x1000