diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-08-27 13:45:21 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-09-05 12:21:22 +0300 |
commit | ae19ba915eb7260ba8532c00ffece6b46460c547 (patch) | |
tree | 0456143f0665260f970ad44d64ab190ce964ec41 /drivers/gpu/drm/i915/display/intel_psr.c | |
parent | 5cc6529767981a1ec3557e0247d4bd2645c701e8 (diff) | |
download | linux-ae19ba915eb7260ba8532c00ffece6b46460c547.tar.xz |
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_psr.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_psr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c index 1f83b3b67ea6..b30fa067ce6e 100644 --- a/drivers/gpu/drm/i915/display/intel_psr.c +++ b/drivers/gpu/drm/i915/display/intel_psr.c @@ -21,6 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include <linux/debugfs.h> + #include <drm/drm_atomic_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_debugfs.h> |