All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
To: u-boot@lists.denx.de
Cc: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>,
	Igor Opaniuk <igor.opaniuk@gmail.com>,
	Simon Glass <sjg@chromium.org>
Subject: [PATCH v2 5/6] board: colibri_vf: fix compiling warning
Date: Fri, 23 Jul 2021 09:39:49 +0300	[thread overview]
Message-ID: <20210723063950.11326-6-oleksandr.suvorov@toradex.com> (raw)
In-Reply-To: <20210723063950.11326-5-oleksandr.suvorov@toradex.com>

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

Changes in v2: None

 board/toradex/colibri_vf/colibri_vf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c
index e9c5bc0632..c09591e543 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
-- 
2.31.1


  reply	other threads:[~2021-07-23  6:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  6:39 [PATCH v2 0/6] Toradex boards' specific patches Oleksandr Suvorov
2021-07-23  6:39 ` [PATCH v2 1/6] board: colibri_imx7: use SDP if USB serial downloader has been used Oleksandr Suvorov
2021-07-23  6:39   ` [PATCH v2 2/6] board: toradex: make USB PID from config block optional Oleksandr Suvorov
2021-07-23  6:39     ` [PATCH v2 3/6] board: colibri-imx8x: update building documentation Oleksandr Suvorov
2021-07-23  6:39       ` [PATCH v2 4/6] board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL Oleksandr Suvorov
2021-07-23  6:39         ` Oleksandr Suvorov [this message]
2021-07-23  6:39           ` [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery Oleksandr Suvorov
2021-08-06 11:03             ` Stefano Babic
2021-08-11  9:50               ` Marcel Ziswiler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210723063950.11326-6-oleksandr.suvorov@toradex.com \
    --to=oleksandr.suvorov@toradex.com \
    --cc=igor.opaniuk@gmail.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.