summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaz Zcharya <pazz@chromium.org>2024-01-31 20:46:54 +0000
committerJani Nikula <jani.nikula@intel.com>2024-02-02 10:36:15 +0200
commit7fd4548d4b645c037d7b0508acfd0955598ded4e (patch)
tree0c670c234998637c6b5cce12faa3a5281a616a2b
parentfe4c6ff50c68aa467f04c376fa3cf2a60e62c07d (diff)
drm/i915/display: Include debugfs.h in intel_display_debugfs_params.c
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
-rw-r--r--drivers/gpu/drm/i915/display/intel_display_debugfs_params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c b/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c
index b7e68eb62452..f35718748555 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c
@@ -3,6 +3,7 @@
* Copyright © 2023 Intel Corporation
*/
+#include <linux/debugfs.h>
#include <linux/kernel.h>
#include <drm/drm_drv.h>