diff options
author | Moritz Fischer <moritzf@google.com> | 2020-10-27 16:48:06 +0000 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-10-30 22:02:19 +0000 |
commit | 40e9c77cb663602e77ebb3c6ebacee41f816954a (patch) | |
tree | c9c119777558811eb913f32898e86cc6a7180946 /src | |
parent | a92d275feccb4d6e2b682f7d8f52abccac7b2b29 (diff) | |
download | riscv-openocd-40e9c77cb663602e77ebb3c6ebacee41f816954a.zip riscv-openocd-40e9c77cb663602e77ebb3c6ebacee41f816954a.tar.gz riscv-openocd-40e9c77cb663602e77ebb3c6ebacee41f816954a.tar.bz2 |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/drivers/xlnx-pcie-xvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/xlnx-pcie-xvc.c b/src/jtag/drivers/xlnx-pcie-xvc.c index 2423a9f..22f256f 100644 --- a/src/jtag/drivers/xlnx-pcie-xvc.c +++ b/src/jtag/drivers/xlnx-pcie-xvc.c @@ -120,7 +120,7 @@ static int xlnx_pcie_xvc_transact(size_t num_bits, uint32_t tms, uint32_t tdi, 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; size_t left = cmd->cmd.stableclocks->num_cycles; |