drm: Don't include drm/drm_encoder_slave.h when not needed
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 17 Jan 2018 13:54:15 +0000 (15:54 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 16 Aug 2019 12:50:27 +0000 (15:50 +0300)
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>
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/imx/dw_hdmi-imx.c

index 83b94b66e464e63c81ffb8d02462544a0057ffe2..4fcd5258e66b4129711f52a5e7e7623ec45f6929 100644 (file)
@@ -27,7 +27,6 @@
 #include <drm/bridge/dw_hdmi.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_edid.h>
-#include <drm/drm_encoder_slave.h>
 #include <drm/drm_of.h>
 #include <drm/drm_print.h>
 #include <drm/drm_probe_helper.h>
index 5a3ad6fc8ea7d84964c7f459af82f60a2e80dbef..f22cfbf9353ede21121809335751130a9777217a 100644 (file)
@@ -16,7 +16,7 @@
 #include <drm/bridge/dw_hdmi.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_edid.h>
-#include <drm/drm_encoder_slave.h>
+#include <drm/drm_encoder.h>
 #include <drm/drm_of.h>
 
 #include "imx-drm.h"