diff options
| author | Tom Rini <[email protected]> | 2021-07-09 10:11:55 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-18 21:05:31 -0400 |
| commit | e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80 (patch) | |
| tree | 8021b391d839ddf608b639557f000febeb39f0db /board/tplink | |
| parent | 3fa03bcf8c67f3636104ecfc941f80af5b31ad9a (diff) | |
treewide: Test on CONFIG_USB_HOST (or CONFIG_CMD_USB) not CONFIG_USB
As the logic here is only used when we have a USB host controller, test
on CONFIG_USB_HOST rather than CONFIG_USB in general. This lets us move
towards using CONFIG_USB only as a menu symbol to say that we have some
form of USB, and then USB_HOST or USB_GADGET depending on the role that
USB plays within the build.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'board/tplink')
| -rw-r--r-- | board/tplink/wdr4300/wdr4300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tplink/wdr4300/wdr4300.c b/board/tplink/wdr4300/wdr4300.c index 9134d6bf6d4..f2b92109b6a 100644 --- a/board/tplink/wdr4300/wdr4300.c +++ b/board/tplink/wdr4300/wdr4300.c @@ -15,7 +15,7 @@ #include <mach/ddr.h> #include <debug_uart.h> -#ifdef CONFIG_USB +#ifdef CONFIG_USB_HOST static void wdr4300_usb_start(void) { void __iomem *gpio_regs = map_physmem(AR71XX_GPIO_BASE, |
