commit | fcb670b794c9839c026757bf2d5cd564323ce199 | [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 | 73e741b8ee46eba4e02a3bcc758dbd70540ed3c1 [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>