Commit f807d31a authored by Jani Nikula's avatar Jani Nikula

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: 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-6-jani.nikula@intel.com
parent c75299ae
...@@ -8,6 +8,7 @@ header_test := \ ...@@ -8,6 +8,7 @@ header_test := \
i915_drv.h \ i915_drv.h \
i915_fixed.h \ i915_fixed.h \
i915_gem_gtt.h \ i915_gem_gtt.h \
i915_globals.h \
i915_irq.h \ i915_irq.h \
i915_params.h \ i915_params.h \
i915_priolist_types.h \ i915_priolist_types.h \
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#ifndef _I915_GLOBALS_H_ #ifndef _I915_GLOBALS_H_
#define _I915_GLOBALS_H_ #define _I915_GLOBALS_H_
#include <linux/types.h>
typedef void (*i915_global_func_t)(void); typedef void (*i915_global_func_t)(void);
struct i915_global { struct i915_global {
......
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