jtag/core: get rid of variable 'jtag'
[fw/openocd] / src / jtag / drivers / jtag_usb_common.h
1 /*
2  * SPDX-License-Identifier: GPL-2.0+
3  * Copyright (c) 2018 Pengutronix, Oleksij Rempel <kernel@pengutronix.de>
4  */
5
6 #ifndef OPENOCD_JTAG_USB_COMMON_H
7 #define OPENOCD_JTAG_USB_COMMON_H
8
9 #include <helper/replacements.h>
10 #include <helper/types.h>
11
12 void jtag_usb_set_location(const char *location);
13 const char *jtag_usb_get_location(void);
14 bool jtag_usb_location_equal(uint8_t dev_bus, uint8_t *port_path,
15                              size_t path_len);
16
17 #endif /* OPENOCD_JTAG_USB_COMMON_H */