diff --git a/patch/kernel/archive/rockchip64-6.19/rk3399-usbc-notify-typec-dp-hpd-state-through-extcon.patch b/patch/kernel/archive/rockchip64-6.19/rk3399-usbc-notify-typec-dp-hpd-state-through-extcon.patch index 3e4e9f0110..34d0b01f7a 100644 --- a/patch/kernel/archive/rockchip64-6.19/rk3399-usbc-notify-typec-dp-hpd-state-through-extcon.patch +++ b/patch/kernel/archive/rockchip64-6.19/rk3399-usbc-notify-typec-dp-hpd-state-through-extcon.patch @@ -31,7 +31,7 @@ index 111111111111..222222222222 100644 +/* Notify DP hotplug change via extcon. Current rockchip cdn-dp driver need this signal + * to reset DP link. */ +static void dp_altmode_update_extcon_hpd_status(struct dp_altmode *dp, bool new_hpd) { -+ const struct device *dev = &dp->alt->dev; ++ struct device *dev = &dp->alt->dev; + struct extcon_dev* edev = NULL; + int ret; +