Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Don't include drm/drm_encoder_slave.h when not needed

The dw-hdmi, kirin and imx drivers include the drm/drm_encoder_slave.h
header but don't use the encoder slave API. Remove it or replace it with
drm/drm_encoder.h as needed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

+1 -2
-1
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
··· 27 27 #include <drm/bridge/dw_hdmi.h> 28 28 #include <drm/drm_atomic_helper.h> 29 29 #include <drm/drm_edid.h> 30 - #include <drm/drm_encoder_slave.h> 31 30 #include <drm/drm_of.h> 32 31 #include <drm/drm_print.h> 33 32 #include <drm/drm_probe_helper.h>
+1 -1
drivers/gpu/drm/imx/dw_hdmi-imx.c
··· 16 16 #include <drm/bridge/dw_hdmi.h> 17 17 #include <drm/drm_atomic_helper.h> 18 18 #include <drm/drm_edid.h> 19 - #include <drm/drm_encoder_slave.h> 19 + #include <drm/drm_encoder.h> 20 20 #include <drm/drm_of.h> 21 21 22 22 #include "imx-drm.h"