jtag: xlnx-pcie-xvc: Declare function static
The xlnx_pcie_xvc_execute_stableclocks() function can and should be static. Change-Id: I45fb1363caee1f1762b0b1ac2c6bc1bb0153b15b Signed-off-by: Moritz Fischer <moritzf@google.com> Reviewed-on: http://openocd.zylin.com/5889 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
a92d275fec
commit
40e9c77cb6
|
@ -120,7 +120,7 @@ static int xlnx_pcie_xvc_transact(size_t num_bits, uint32_t tms, uint32_t tdi,
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int xlnx_pcie_xvc_execute_stableclocks(struct jtag_command *cmd)
|
static int xlnx_pcie_xvc_execute_stableclocks(struct jtag_command *cmd)
|
||||||
{
|
{
|
||||||
int tms = tap_get_state() == TAP_RESET ? 1 : 0;
|
int tms = tap_get_state() == TAP_RESET ? 1 : 0;
|
||||||
size_t left = cmd->cmd.stableclocks->num_cycles;
|
size_t left = cmd->cmd.stableclocks->num_cycles;
|
||||||
|
|
Loading…
Reference in New Issue