From: Peter Robinson Date: Mon, 20 Apr 2020 18:18:25 +0000 (+0100) Subject: drivers: video: rockchip: fix building eDP and LVDS drivers X-Git-Tag: v2020.10~264^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=973e31fd476686e9bf7eee0e0ff51afdbbc8c61e;p=platform%2Fkernel%2Fu-boot.git drivers: video: rockchip: fix building eDP and LVDS drivers The rk_edp.c and rk_lvds.c files reference rk_setreg which is declared in hardware.h so include it so the drivers build. Adjust rk_lvds.c so includes are in alphabetical order while updating. Signed-off-by: Peter Robinson Reviewed-by: Anatolij Gustschin Tested-by: Vagrant Cascadian --- diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c index 8703df0..cf84b88 100644 --- a/drivers/video/rockchip/rk_edp.c +++ b/drivers/video/rockchip/rk_edp.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #define MAX_CR_LOOP 5 diff --git a/drivers/video/rockchip/rk_lvds.c b/drivers/video/rockchip/rk_lvds.c index cf5c043..79e24ba 100644 --- a/drivers/video/rockchip/rk_lvds.c +++ b/drivers/video/rockchip/rk_lvds.c @@ -13,8 +13,9 @@ #include #include #include -#include #include +#include +#include #include #include