Commit ead92edb authored by Michal Wajdeczko's avatar Michal Wajdeczko Committed by Chris Wilson

drm/i915/huc: Fix includes in intel_huc.c

Fix includes order and make sure we only include required headers.
While here, make intel_huc.h header self-contained.
Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006090209.67852-1-michal.wajdeczko@intel.comReviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent faf65486
...@@ -21,9 +21,11 @@ ...@@ -21,9 +21,11 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
* *
*/ */
#include <linux/firmware.h>
#include <linux/types.h>
#include "intel_huc.h"
#include "i915_drv.h" #include "i915_drv.h"
#include "intel_uc.h"
/** /**
* DOC: HuC Firmware * DOC: HuC Firmware
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#ifndef _INTEL_HUC_H_ #ifndef _INTEL_HUC_H_
#define _INTEL_HUC_H_ #define _INTEL_HUC_H_
#include "intel_uc_fw.h"
struct intel_huc { struct intel_huc {
/* Generic uC firmware management */ /* Generic uC firmware management */
struct intel_uc_fw fw; struct intel_uc_fw fw;
......
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