]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: video: rockchip: fix building eDP and LVDS drivers
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 20 Apr 2020 18:18:25 +0000 (19:18 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Apr 2020 20:58:50 +0000 (22:58 +0200)
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 <pbrobinson@gmail.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Vagrant Cascadian <vagrant@debian.org>
drivers/video/rockchip/rk_edp.c
drivers/video/rockchip/rk_lvds.c

index 8703df0ec081d05e757eedd6cc45f1f9cd17d930..cf84b886e72d2dc700cda202bec250f122309e16 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/arch-rockchip/clock.h>
 #include <asm/arch-rockchip/edp_rk3288.h>
 #include <asm/arch-rockchip/grf_rk3288.h>
+#include <asm/arch-rockchip/hardware.h>
 #include <dt-bindings/clock/rk3288-cru.h>
 
 #define MAX_CR_LOOP 5
index cf5c0439b1ad063c31031f6bf869c0097af1c4bf..79e24baf53bd6459bd702d3ffea2e43258fc148b 100644 (file)
@@ -13,8 +13,9 @@
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/clock.h>
-#include <asm/arch-rockchip/lvds_rk3288.h>
 #include <asm/arch-rockchip/grf_rk3288.h>
+#include <asm/arch-rockchip/hardware.h>
+#include <asm/arch-rockchip/lvds_rk3288.h>
 #include <dt-bindings/clock/rk3288-cru.h>
 #include <dt-bindings/video/rk3288.h>