From: Jani Nikula Date: Wed, 26 Jun 2019 14:40:12 +0000 (+0300) Subject: drm/i915: make i915_globals.h self-contained X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f807d31a2174409c787e53fb6f0609d1b9783e3e;p=linux.git 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 Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-6-jani.nikula@intel.com --- diff --git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test index 8f617d5f5d592..2f802d5a37775 100644 --- a/drivers/gpu/drm/i915/Makefile.header-test +++ b/drivers/gpu/drm/i915/Makefile.header-test @@ -8,6 +8,7 @@ header_test := \ i915_drv.h \ i915_fixed.h \ i915_gem_gtt.h \ + i915_globals.h \ i915_irq.h \ i915_params.h \ i915_priolist_types.h \ diff --git a/drivers/gpu/drm/i915/i915_globals.h b/drivers/gpu/drm/i915/i915_globals.h index 04c1ce107fc06..2d199f411a4ab 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 + typedef void (*i915_global_func_t)(void); struct i915_global {