summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_hotplug.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-08-27 13:45:21 +0300
committerJani Nikula <jani.nikula@intel.com>2024-09-05 12:21:22 +0300
commitae19ba915eb7260ba8532c00ffece6b46460c547 (patch)
tree0456143f0665260f970ad44d64ab190ce964ec41 /drivers/gpu/drm/i915/display/intel_hotplug.c
parent5cc6529767981a1ec3557e0247d4bd2645c701e8 (diff)
downloadlinux-ae19ba915eb7260ba8532c00ffece6b46460c547.tar.gz
linux-ae19ba915eb7260ba8532c00ffece6b46460c547.tar.bz2
linux-ae19ba915eb7260ba8532c00ffece6b46460c547.zip
drm/i915/display: include media/cec-notifier.h and linux/debugfs.h where needed
Use a forward declaration for struct cec_notifier instead of including media/cec-notifier.h in intel_display_types.h, and only include it where needed. Also realize that a lot of places depend on including linux/debugfs.h via intel_display_types.h -> media/cec-notifier.h -> media/cec.h, and include that too where needed. v2: hsw_ips.c also needs debugfs.h (kernel test robot) Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240827104521.4151471-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_hotplug.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_hotplug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_hotplug.c b/drivers/gpu/drm/i915/display/intel_hotplug.c
index 2617c5f63a07..a013b0e0ef54 100644
--- a/drivers/gpu/drm/i915/display/intel_hotplug.c
+++ b/drivers/gpu/drm/i915/display/intel_hotplug.c
@@ -21,6 +21,7 @@
* IN THE SOFTWARE.
*/
+#include <linux/debugfs.h>
#include <linux/kernel.h>
#include <drm/drm_probe_helper.h>