drm/bridge: fix anx6345 compilation for v5.5
authorTorsten Duwe <duwe@lst.de>
Tue, 12 Nov 2019 17:59:40 +0000 (18:59 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 12 Nov 2019 19:20:25 +0000 (20:20 +0100)
commite1cff82c1097bda2478c7ee74e13dfab33561639
tree536cdee1db02a5639c11a3d54ab889742a0b426d
parentc8f95a56b6763cdb2eefac1bef9a09aac13a9694
drm/bridge: fix anx6345 compilation for v5.5

The anx6345 driver originally was copied from anx78xx.c, which has meanwhile
seen a few changes. In particular, the removal of drm_dp_link helpers and the
discontinuation to include drm_bridge.h from drm_crtc.h breaks compilation
in linux-5.5. Apply equivalents of these changes to anx6345.c.

Fixes: 6aa192698089 ("drm/bridge: Add Analogix anx6345 support")
Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112175940.GA13539@lst.de
drivers/gpu/drm/bridge/analogix/analogix-anx6345.c