]> Git Repo - u-boot.git/commit
usb: Add missing guard around env_get() in usb_hub
authorMarek Vasut <[email protected]>
Mon, 19 Sep 2022 19:19:23 +0000 (21:19 +0200)
committerMarek Vasut <[email protected]>
Mon, 10 Oct 2022 16:08:18 +0000 (18:08 +0200)
commitfcb670b794c9839c026757bf2d5cd564323ce199
tree15faa558f0d01a821d32ff8139fb3077eaf22d35
parent73e741b8ee46eba4e02a3bcc758dbd70540ed3c1
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 <[email protected]>
Tested-by: Fabio Estevam <[email protected]>
common/usb_hub.c
This page took 0.033889 seconds and 4 git commands to generate.