From: Stefan Agner Date: Wed, 30 Nov 2016 13:41:52 -0800 Subject: [U-Boot] [PATCH v2 1/6] toradex: fix USB Download gadget fixup callback In-Reply-To: <20161130214157.22331-1-stefan@agner.ch> References: <20161130214157.22331-1-stefan@agner.ch> Message-ID: <20161130214157.22331-2-stefan@agner.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Stefan Agner Use the proper config option to guard the USB Download Function fixup callback. Signed-off-by: Stefan Agner --- Changes in v2: None board/toradex/common/tdx-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index f1ab794..d418055 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) && defined(CONFIG_OF_BOARD_SETUP) int ft_board_setup(void *blob, bd_t *bd) -- 2.10.2