]> www.infradead.org Git - nvme.git/commitdiff
drm/i915/display: Include debugfs.h in intel_display_debugfs_params.c
authorPaz Zcharya <pazz@chromium.org>
Wed, 31 Jan 2024 20:46:54 +0000 (20:46 +0000)
committerJani Nikula <jani.nikula@intel.com>
Fri, 2 Feb 2024 08:36:15 +0000 (10:36 +0200)
Commit 8015bee0bfec ("drm/i915/display: Add framework to add parameters
specific to display") added the file intel_display_debugfs_params.c,
which calls the functions "debugfs_create_{bool, ulong, str}" -- all of
which are defined in <linux/debugfs.h>. The missing inclusion of this
header file is breaking the ChromeOS build -- add an explicit include
to fix that.

Signed-off-by: Paz Zcharya <pazz@chromium.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240131204658.795278-1-pazz@chromium.org
drivers/gpu/drm/i915/display/intel_display_debugfs_params.c

index b7e68eb62452258ff7fbd1b3543a0f46b4fefe42..f3571874855551e7bafce48fd5e5a50b6fd6da56 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright © 2023 Intel Corporation
  */
 
+#include <linux/debugfs.h>
 #include <linux/kernel.h>
 
 #include <drm/drm_drv.h>