Skip to content

Commit

Permalink
drm/i915/guc: Fix build break on config without DEBUG_FS
Browse files Browse the repository at this point in the history
In commit 56b9a8b ("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
  • Loading branch information
Michal Wajdeczko authored and Rodrigo Vivi committed Mar 15, 2018
1 parent 56b9a8b commit 7fb96da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_guc_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

#include <linux/debugfs.h>

#include "intel_guc_log.h"
#include "i915_drv.h"

Expand Down

0 comments on commit 7fb96da

Please sign in to comment.