diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-10-12 18:59:27 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-21 21:37:47 -0400 |
commit | 65e8b64d237a8a6e9062568412fae03c1673885c (patch) | |
tree | bb28541c7ef8adfd8bf8038689c1b2cf56649554 /drivers/ddr/imx/phy/ddrphy_train.c | |
parent | 9259bd1735990ca07473ceb03ca667d7d0caddfc (diff) |
board: gateworks: gw_ventana: fix building with GCC 12.2
Building with GCC 12.2 results in an error
board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison
will always evaluate as 'true' for the address of 'pwm_padmux' will
never be NULL [-Werror=address]
636 | } else if (hwconfig_subarg_cmp(arg, "mode", "pwm") &&
| ^~
Remove the superfluous check.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-By: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions