On Tue, 23 Feb 2021 21:46:13 +0100
Jernej Skrabec <jernej.skra...@siol.net> wrote:

> Currently sunxi Makefile manually specifies full path to dw-hdmi common
> code. However, that is not needed because it can be selected in Kconfig
> instead.
> 
> Select proper symbol in Kconfig and drop path from Makefile.

Ah, indeed. Good catch!

> Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net>

Reviewed-by: Andre Przywara <andre.przyw...@arm.com>

Cheers,
Andre

> ---
>  arch/arm/mach-sunxi/Kconfig  | 1 +
>  drivers/video/sunxi/Makefile | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 0135575ca1eb..9149196b223e 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -972,6 +972,7 @@ config VIDEO_DE2
>       depends on SUNXI_DE2
>       select DM_VIDEO
>       select DISPLAY
> +     select VIDEO_DW_HDMI
>       imply VIDEO_DT_SIMPLEFB
>       default y
>       ---help---
> diff --git a/drivers/video/sunxi/Makefile b/drivers/video/sunxi/Makefile
> index 147e18799229..4321673312bf 100644
> --- a/drivers/video/sunxi/Makefile
> +++ b/drivers/video/sunxi/Makefile
> @@ -4,4 +4,4 @@
>  # Wolfgang Denk, DENX Software Engineering, w...@denx.de.
>  
>  obj-$(CONFIG_VIDEO_SUNXI) += sunxi_display.o simplefb_common.o lcdc.o 
> tve_common.o ../videomodes.o
> -obj-$(CONFIG_VIDEO_DE2) += sunxi_de2.o sunxi_dw_hdmi.o simplefb_common.o 
> lcdc.o ../dw_hdmi.o sunxi_lcd.o
> +obj-$(CONFIG_VIDEO_DE2) += sunxi_de2.o sunxi_dw_hdmi.o simplefb_common.o 
> lcdc.o sunxi_lcd.o

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20210304014052.7801e2de%40slackpad.fritz.box.

Reply via email to