Commit c75299ae authored by Jani Nikula's avatar Jani Nikula

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-4-jani.nikula@intel.com
parent 7fcc7ca5
...@@ -6,6 +6,7 @@ header_test := \ ...@@ -6,6 +6,7 @@ header_test := \
i915_active_types.h \ i915_active_types.h \
i915_debugfs.h \ i915_debugfs.h \
i915_drv.h \ i915_drv.h \
i915_fixed.h \
i915_gem_gtt.h \ i915_gem_gtt.h \
i915_irq.h \ i915_irq.h \
i915_params.h \ i915_params.h \
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
#ifndef _I915_FIXED_H_ #ifndef _I915_FIXED_H_
#define _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 { typedef struct {
u32 val; u32 val;
} uint_fixed_16_16_t; } uint_fixed_16_16_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment