summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_fixed.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-06-26 17:40:10 +0300
committerJani Nikula <jani.nikula@intel.com>2019-06-27 10:50:24 +0300
commitc75299aea22a92abf5e097830915162655fb46b5 (patch)
tree6c6e7d47f386cc2117ff9595b681b21a25624531 /drivers/gpu/drm/i915/i915_fixed.h
parent7fcc7ca549d4889025d38c983681bfada3ff1f3a (diff)
downloadlinux-c75299aea22a92abf5e097830915162655fb46b5.tar.xz
drm/i915: make i915_fixed.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-4-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_fixed.h')
-rw-r--r--drivers/gpu/drm/i915/i915_fixed.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_fixed.h b/drivers/gpu/drm/i915/i915_fixed.h
index 6621595fe74c..a327094de2bd 100644
--- a/drivers/gpu/drm/i915/i915_fixed.h
+++ b/drivers/gpu/drm/i915/i915_fixed.h
@@ -6,6 +6,11 @@
#ifndef _I915_FIXED_H_
#define _I915_FIXED_H_
+#include <linux/bug.h>
+#include <linux/kernel.h>
+#include <linux/math64.h>
+#include <linux/types.h>
+
typedef struct {
u32 val;
} uint_fixed_16_16_t;