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: Michal 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: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Michal Wajdeczko 2017-10-06 09:02:09 +00:00 committed by Chris Wilson
parent faf654864b
commit ead92edbd6
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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;