From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 03/11] drm/i915: make i915_globals.h self-contained
Date: Mon, 17 Jun 2019 12:51:00 +0300 [thread overview]
Message-ID: <20190617095108.22118-4-jani.nikula@intel.com> (raw)
In-Reply-To: <20190617095108.22118-1-jani.nikula@intel.com>
Add the minimal includes/declarations to make the header self-contained,
and ensure it stays that way.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
| 1 +
drivers/gpu/drm/i915/i915_globals.h | 2 ++
2 files changed, 3 insertions(+)
--git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test
index 00a437db434d..4f7a349dcfc5 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 04c1ce107fc0..2d199f411a4a 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 <linux/types.h>
+
typedef void (*i915_global_func_t)(void);
struct i915_global {
--
2.20.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-06-17 9:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 9:50 drm/i915: last bits to make headers self-contained Jani Nikula
2019-06-17 9:50 ` [PATCH 01/11] drm/i915: make i915_fixed.h self-contained Jani Nikula
2019-06-17 9:50 ` [PATCH 02/11] drm/i915: make i915_gem_gtt.h self-contained Jani Nikula
2019-06-17 9:51 ` Jani Nikula [this message]
2019-06-17 9:51 ` [PATCH 04/11] drm/i915: make i915_pvinfo.h self-contained Jani Nikula
2019-06-17 9:51 ` [PATCH 05/11] drm/i915: make i915_vgpu.h self-contained Jani Nikula
2019-06-17 9:51 ` [PATCH 06/11] drm/i915: make intel_guc_ct.h self-contained Jani Nikula
2019-06-17 9:51 ` [PATCH 07/11] drm/i915: make intel_guc_fwif.h self-contained Jani Nikula
2019-06-17 9:51 ` [PATCH 08/11] drm/i915: make intel_guc_reg.h self-contained Jani Nikula
2019-06-17 14:45 ` Michal Wajdeczko
2019-06-25 9:29 ` Jani Nikula
2019-06-17 9:51 ` [PATCH 09/11] drm/i915: make intel_gvt.h self-contained Jani Nikula
2019-06-17 9:51 ` [PATCH 10/11] drm/i915: make intel_uc_fw.h self-contained Jani Nikula
2019-06-17 9:51 ` [PATCH 11/11] drm/i915: use wildcard to ensure all headers stay self-contained Jani Nikula
2019-06-17 12:15 ` drm/i915: last bits to make headers self-contained Chris Wilson
2019-06-17 15:41 ` ✗ Fi.CI.SPARSE: warning for series starting with [01/11] drm/i915: make i915_fixed.h self-contained Patchwork
2019-06-17 16:18 ` ✓ Fi.CI.BAT: success " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190617095108.22118-4-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox