summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_encoder_slave.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-06-30 21:51:14 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-07-05 20:15:23 +0200
commita204f9743b6808ca658c1bacedb34bf4c7e6f800 (patch)
tree2274f9bc1f8fe2bceb76981e29c8e686a7d4a94a /include/drm/drm_encoder_slave.h
parentdrm: Remove linux/media-bus-format.h from drm_crtc.h (diff)
downloadlinux-a204f9743b6808ca658c1bacedb34bf4c7e6f800.tar.xz
linux-a204f9743b6808ca658c1bacedb34bf4c7e6f800.zip
drm: Remove linux/i2c.h from drm_crtc.h
drm_crtc.h has no need for linux/i2c.h, so don't include it. Avoids useless rebuilds of the entire universe when touching linux/i2c.h. Quite a few placs do currently depend on linux/i2c.h without actually including it directly. All of those need to be fixed up. v2: imx and mcde need linux/io.h for readl()/etc. Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220630195114.17407-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'include/drm/drm_encoder_slave.h')
-rw-r--r--include/drm/drm_encoder_slave.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_encoder_slave.h b/include/drm/drm_encoder_slave.h
index a09864f6d684..7214101fd731 100644
--- a/include/drm/drm_encoder_slave.h
+++ b/include/drm/drm_encoder_slave.h
@@ -27,6 +27,8 @@
#ifndef __DRM_ENCODER_SLAVE_H__
#define __DRM_ENCODER_SLAVE_H__
+#include <linux/i2c.h>
+
#include <drm/drm_crtc.h>
#include <drm/drm_encoder.h>