projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6913eff
)
drm: avoid includes in drm_crtc_helper_internal.h
author
Jani Nikula
<jani.nikula@intel.com>
Fri, 8 Mar 2024 11:55:53 +0000
(13:55 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Mon, 11 Mar 2024 09:47:07 +0000
(11:47 +0200)
Prefer forward declarations over includes where possible.
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/fb7fb2986e19f949bf3a9b16230a59e0f7aaebdf.1709898638.git.jani.nikula@intel.com
drivers/gpu/drm/drm_crtc_helper_internal.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_crtc_helper_internal.h
b/drivers/gpu/drm/drm_crtc_helper_internal.h
index ed4deed07abda1b7f32449f3e76b3cb3689cf53a..8059f65c5d6c46014a3b510069730c6ac079f7bc 100644
(file)
--- a/
drivers/gpu/drm/drm_crtc_helper_internal.h
+++ b/
drivers/gpu/drm/drm_crtc_helper_internal.h
@@
-29,10
+29,12
@@
#ifndef __DRM_CRTC_HELPER_INTERNAL_H__
#define __DRM_CRTC_HELPER_INTERNAL_H__
-#include <drm/drm_connector.h>
-#include <drm/drm_crtc.h>
-#include <drm/drm_encoder.h>
-#include <drm/drm_modes.h>
+enum drm_mode_status;
+struct drm_connector;
+struct drm_crtc;
+struct drm_display_mode;
+struct drm_encoder;
+struct drm_modeset_acquire_ctx;
/* drm_probe_helper.c */
enum drm_mode_status drm_crtc_mode_valid(struct drm_crtc *crtc,