Skip to content
Snippets Groups Projects
Commit fcb670b7 authored by Marek Vasut's avatar Marek Vasut
Browse files

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: default avatarMarek Vasut <marex@denx.de>
Tested-by: default avatarFabio Estevam <festevam@denx.de>
parent 73e741b8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment