>-----Original Message-----
>From: U-Boot <u-boot-boun...@lists.denx.de> On Behalf Of Heinrich
>Schuchardt
>Sent: Saturday, April 11, 2020 2:27 PM
>To: Priyanka Jain <priyanka.j...@nxp.com>
>Cc: u-boot@lists.denx.de; Ilias Apalodimas <ilias.apalodi...@linaro.org>;
>Heinrich Schuchardt <xypron.g...@gmx.de>
>Subject: [PATCH 1/1] board: fsl: lx2160a: unused variable gic_lpi_base
>
>If the board is configured without CONFIG_GIC_V3_ITS, an error occurs:
>
>board/freescale/lx2160a/lx2160a.c: In function ‘ft_board_setup’:
>board/freescale/lx2160a/lx2160a.c:673:6: error: unused variable
>‘gic_lpi_base’ [-Werror=unused-variable]
>  673 |  u64 gic_lpi_base;
>      |      ^~~~~~~~~~~~
>
>Let's define the variable as __maybe_unused.
>
>Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
>---
Applied to fsl-qoriq. Awaiting upstream.

Thanks
Priyanka

Reply via email to