From dd597abae76f31037806fbde3156a623bb257fa8 Mon Sep 17 00:00:00 2001 From: Martin Ayotte Date: Tue, 7 May 2019 16:18:25 -0400 Subject: [PATCH] fix Analogix patch according to 5.1.y --- .../0130-drm-bridge-Add-Analogix-anx6345-support.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patch/kernel/sunxi-dev/0130-drm-bridge-Add-Analogix-anx6345-support.patch b/patch/kernel/sunxi-dev/0130-drm-bridge-Add-Analogix-anx6345-support.patch index 2c89192e09..24f15e63f9 100644 --- a/patch/kernel/sunxi-dev/0130-drm-bridge-Add-Analogix-anx6345-support.patch +++ b/patch/kernel/sunxi-dev/0130-drm-bridge-Add-Analogix-anx6345-support.patch @@ -76,7 +76,7 @@ index 000000000000..81676407aa6d +#include +#include +#include -+//#include ++#include +#include +#include + @@ -717,8 +717,8 @@ index 000000000000..81676407aa6d +} + +static void anx6345_bridge_mode_set(struct drm_bridge *bridge, -+ /*const*/ struct drm_display_mode *mode, -+ /*const*/ struct drm_display_mode *adjusted_mode) ++ const struct drm_display_mode *mode, ++ const struct drm_display_mode *adjusted_mode) +{ + struct anx6345 *anx6345 = bridge_to_anx6345(bridge); +