zephyr/drivers/usb/device
Daniel Leung 6c85e615c5 usb: fixes shadow variables
This fixes a shadow variables found by -Wshadow.
The variable ep_ctx is only used in certain switch cases
so declare it when it is needed.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-10 08:14:12 +00:00
..
CMakeLists.txt ITE: drivers/usb/device: Add USB Device Controller Support 2023-05-26 12:40:18 +02:00
Kconfig drivers for POSIX arch: Add external libc dependencies 2023-07-05 07:01:19 -04:00
usb_dc_dw_stm32.h drivers: usb_dc_dw: add support for STM32F4 SoC family 2023-05-10 20:07:04 +09:00
usb_dc_dw.c drivers: usb_dc_dw: add support for STM32F4 SoC family 2023-05-10 20:07:04 +09:00
usb_dc_it82xx2.c drivers: usb: fix common misspellings in USB drivers 2023-07-26 10:46:01 +02:00
usb_dc_kinetis.c drivers: usb: fix common misspellings in USB drivers 2023-07-26 10:46:01 +02:00
usb_dc_mcux.c drivers: usb_mcux: Fix disable and reset functions 2023-06-09 11:45:55 -04:00
usb_dc_native_posix_adapt.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_native_posix_adapt.h
usb_dc_native_posix.c drivers: usb_dc_native_posix: Check data length before copy 2023-06-09 11:45:16 -04:00
usb_dc_nrfx.c usb: fixes shadow variables 2023-08-10 08:14:12 +00:00
usb_dc_rpi_pico.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
usb_dc_sam0.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
usb_dc_sam_usbc.c drivers: usb: fix common misspellings in USB drivers 2023-07-26 10:46:01 +02:00
usb_dc_sam_usbhs.c drivers: usb: fix common misspellings in USB drivers 2023-07-26 10:46:01 +02:00
usb_dc_smartbond.c drivers: usb_device: Add USB driver for smartbond 2023-05-26 10:19:15 +02:00
usb_dc_stm32.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
usb_dw_registers.h drivers: usb: fix common misspellings in USB drivers 2023-07-26 10:46:01 +02:00