diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-07-23 09:39:49 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-08-09 13:09:29 +0200 |
commit | d9275ebbffc8b7ca9a5c653b7ee62c1e36800fa9 (patch) | |
tree | ca6c436cd05620ff6ce65638d936d762c29d7717 /board | |
parent | 87421ab6445ef1694ff3c79a20898bf6b961fdb0 (diff) | |
download | u-boot-d9275ebbffc8b7ca9a5c653b7ee62c1e36800fa9.zip u-boot-d9275ebbffc8b7ca9a5c653b7ee62c1e36800fa9.tar.gz u-boot-d9275ebbffc8b7ca9a5c653b7ee62c1e36800fa9.tar.bz2 |
board: colibri_vf: fix compiling warning
This patch fixes the following compiler warning:
=============
board/toradex/colibri_vf/colibri_vf.c: In function 'ft_board_setup':
board/toradex/colibri_vf/colibri_vf.c:436:6: warning: unused variable 'ret' [-Wunused-variable]
=============
Fixes: be3f1a56bf8 ("video: fsl_dcu_fb: add DM_VIDEO support")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/colibri_vf/colibri_vf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c index e9c5bc0..c09591e 100644 --- a/board/toradex/colibri_vf/colibri_vf.c +++ b/board/toradex/colibri_vf/colibri_vf.c @@ -433,7 +433,7 @@ int checkboard(void) #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) int ft_board_setup(void *blob, struct bd_info *bd) { -#ifndef CONFIG_DM_VIDEO +#if defined(CONFIG_VIDEO_FSL_DCU_FB) && !defined(CONFIG_DM_VIDEO) int ret = 0; #endif #ifdef CONFIG_FDT_FIXUP_PARTITIONS |