diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-11-30 13:41:52 -0800 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-11 21:25:08 +0100 |
commit | 95edfe8c1e0642ca2a77fda2c3b3cc99b3a507eb (patch) | |
tree | 929f30f42d3104ac826db8ffaf4d3bf38a10c210 | |
parent | 100df3eed5f3bccb820512260e63c0f60a92e2a0 (diff) |
toradex: fix USB Download gadget fixup callback
Use the proper config option to guard the USB Download Function
fixup callback.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit beaf40688ba7303e9db50558b3852c79437eecad)
-rw-r--r-- | board/toradex/common/tdx-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index 775412a20bc..2c6fc409c10 100644 --- a/board/toradex/common/tdx-common.c +++ b/board/toradex/common/tdx-common.c @@ -108,7 +108,7 @@ int show_board_info(void) return 0; } -#ifdef CONFIG_USBDOWNLOAD_GADGET +#ifdef CONFIG_USB_GADGET_DOWNLOAD int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) { unsigned short usb_pid; @@ -118,7 +118,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) return 0; } -#endif /* CONFIG_USBDOWNLOAD_GADGET */ +#endif #if defined(CONFIG_OF_LIBFDT) int ft_common_board_setup(void *blob, bd_t *bd) |