diff options
author | Marc Schink <dev@zapb.de> | 2020-02-05 15:50:31 +0100 |
---|---|---|
committer | Oleksij Rempel <linux@rempel-privat.de> | 2020-03-03 07:24:33 +0000 |
commit | 93c6bf2cce5f23e37d4a1dd5136a40e74c69285c (patch) | |
tree | b8d081f5f51d4b9c10f50f598d0c77e2bfbfa1f3 /src/jtag/drivers/openjtag.c | |
parent | 8ce51b6a207e8cefdf5b6cb06d3c57d1cbef5a99 (diff) |
drivers: libusb1_common code cleanup
Remove unncessary wrapper functions and 'jtag_' prefixes.
Change-Id: I0fd866ff1e1cf7386c4d58a808dfda2c1c0a1518
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/5433
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Diffstat (limited to 'src/jtag/drivers/openjtag.c')
-rw-r--r-- | src/jtag/drivers/openjtag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/openjtag.c b/src/jtag/drivers/openjtag.c index c42b620b..3bfcccf6 100644 --- a/src/jtag/drivers/openjtag.c +++ b/src/jtag/drivers/openjtag.c @@ -111,7 +111,7 @@ static uint8_t usb_rx_buf[OPENJTAG_BUFFER_SIZE]; static struct openjtag_scan_result openjtag_scan_result_buffer[OPENJTAG_MAX_PENDING_RESULTS]; static int openjtag_scan_result_count; -static jtag_libusb_device_handle *usbh; +static struct libusb_device_handle *usbh; /* CY7C65215 model only */ #define CY7C65215_JTAG_REQUEST 0x40 /* bmRequestType: vendor host-to-device */ |