commit | bd2a346bef92f51fc4556e1aa7b7d1cd7554266c | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Sep 19 21:19:23 2022 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Oct 10 18:08:18 2022 +0200 |
tree | 15faa558f0d01a821d32ff8139fb3077eaf22d35 | |
parent | c1f49a2c7ebef44ccefc0cc83698064832fa7fdf [diff] |
usb: Add missing guard around env_get() in usb_hub The env_get() might be undefined in case ENV_SUPPORT is disabled, which may happen e.g. in SPL. Add missing ifdef guard around the env_get() to prevent build failure. Signed-off-by: Marek Vasut <marex@denx.de> Tested-by: Fabio Estevam <festevam@denx.de>