Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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.com


Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent faf65486
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -21,9 +21,11 @@
 * IN THE SOFTWARE.
 *
 */
#include <linux/firmware.h>

#include <linux/types.h>

#include "intel_huc.h"
#include "i915_drv.h"
#include "intel_uc.h"

/**
 * DOC: HuC Firmware
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@
#ifndef _INTEL_HUC_H_
#define _INTEL_HUC_H_

#include "intel_uc_fw.h"

struct intel_huc {
	/* Generic uC firmware management */
	struct intel_uc_fw fw;