]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm: Drop drm_connector.h from drm_crtc.h
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Jun 2022 20:03:13 +0000 (23:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jun 2022 20:53:55 +0000 (23:53 +0300)
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@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220613200317.11305-5-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
include/drm/drm_crtc.h

index 7fbccbe8b4c6c998c29380e414f2bafe717fe26d..c404b6e81220f6ce3deea7c915a9b9b111318f95 100644 (file)
@@ -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;