[Intel-gfx] [PATCH 4/8] drm: Drop drm_connector.h from drm_crtc.h
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Jun 13 20:03:13 UTC 2022
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
drm_crtc.h has no need for drm_connector.h, so don't include it.
Avoids useless rebuilds of the entire universe when
touching drm_connector.h.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
include/drm/drm_crtc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 7fbccbe8b4c6..c404b6e81220 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -37,7 +37,6 @@
#include <drm/drm_rect.h>
#include <drm/drm_mode_object.h>
#include <drm/drm_modes.h>
-#include <drm/drm_connector.h>
#include <drm/drm_device.h>
#include <drm/drm_property.h>
#include <drm/drm_plane.h>
@@ -45,6 +44,7 @@
#include <drm/drm_debugfs_crc.h>
#include <drm/drm_mode_config.h>
+struct drm_connector;
struct drm_device;
struct drm_framebuffer;
struct drm_mode_set;
--
2.35.1
More information about the Intel-gfx
mailing list