From: Devarsh Thakkar Date: Wed, 25 Sep 2024 15:13:53 +0000 (+0530) Subject: boot: fdt_simplefb: Remove conditional compilation checks for VIDEO Kconfig X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=944e515e759db4f9660245bd09e2df9051dd0b27;p=u-boot.git boot: fdt_simplefb: Remove conditional compilation checks for VIDEO Kconfig CONFIG_VIDEO conditional compilation checks are no longer needed since FDT_SIMPLEFB Kconfig now depends on VIDEO Kconfig. Signed-off-by: Devarsh Thakkar Reviewed-by: Mattijs Korpershoek --- diff --git a/boot/fdt_simplefb.c b/boot/fdt_simplefb.c index 71b833eb9b..5822131767 100644 --- a/boot/fdt_simplefb.c +++ b/boot/fdt_simplefb.c @@ -103,7 +103,6 @@ static int fdt_simplefb_enable_existing_node(void *blob) return fdt_simplefb_configure_node(blob, off); } -#if IS_ENABLED(CONFIG_VIDEO) int fdt_simplefb_enable_and_mem_rsv(void *blob) { int ret; @@ -118,4 +117,3 @@ int fdt_simplefb_enable_and_mem_rsv(void *blob) return fdt_add_fb_mem_rsv(blob); } -#endif