diff options
| author | 2024-08-27 13:45:21 +0300 | |
|---|---|---|
| committer | 2024-09-05 12:21:22 +0300 | |
| commit | ae19ba915eb7260ba8532c00ffece6b46460c547 (patch) | |
| tree | 0456143f0665260f970ad44d64ab190ce964ec41 /drivers/gpu/drm/i915/display/intel_alpm.c | |
| parent | drm/i915/display: include drm/drm_vblank.h where needed (diff) | |
| download | wireguard-linux-ae19ba915eb7260ba8532c00ffece6b46460c547.tar.xz wireguard-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_alpm.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_alpm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c b/drivers/gpu/drm/i915/display/intel_alpm.c index 186cf4833f71..31c068f393b7 100644 --- a/drivers/gpu/drm/i915/display/intel_alpm.c +++ b/drivers/gpu/drm/i915/display/intel_alpm.c @@ -3,6 +3,8 @@ * Copyright 2024, Intel Corporation. */ +#include <linux/debugfs.h> + #include "intel_alpm.h" #include "intel_crtc.h" #include "intel_de.h" |
