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 <devarsht@ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
This commit is contained in:
Devarsh Thakkar 2024-09-25 20:43:53 +05:30 committed by Anatolij Gustschin
parent c525423e5c
commit 944e515e75

View file

@ -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