drm/i915/guc: Fix build break on config without DEBUG_FS
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 15 Mar 2018 15:28:47 +0000 (15:28 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 15 Mar 2018 15:48:39 +0000 (08:48 -0700)
In commit 56b9a8b08387 ("drm/i915/guc: Update syntax of GuC
log functions") we accidentally removed debugfs.h header
where needed stub functions were defined.

Reported-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Mike Lothian <mike@fireburn.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180315152848.40476-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_guc_log.c

index bfb9a68fffeffbfcdac35c232564cf1c2ea8ec25..1c2127bc38785a6f6faf4f3bf58033c55216e372 100644 (file)
@@ -22,6 +22,8 @@
  *
  */
 
+#include <linux/debugfs.h>
+
 #include "intel_guc_log.h"
 #include "i915_drv.h"