jtag: drivers: add static to local symbols
Add static type to symbols that are not used elsewhere. Detected through 'sparse' tool. Change-Id: I00e151d2466868a5dce028444d326defb80d4826 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7591 Tested-by: jenkins
This commit is contained in:
parent
682f927f8e
commit
411dfa2409
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <sys/mman.h>
|
||||
|
||||
uint32_t bcm2835_peri_base = 0x20000000;
|
||||
static uint32_t bcm2835_peri_base = 0x20000000;
|
||||
#define BCM2835_GPIO_BASE (bcm2835_peri_base + 0x200000) /* GPIO controller */
|
||||
|
||||
#define BCM2835_PADS_GPIO_0_27 (bcm2835_peri_base + 0x100000)
|
||||
|
|
|
@ -37,7 +37,7 @@ static int ep93xx_reset(int trst, int srst);
|
|||
static int ep93xx_init(void);
|
||||
static int ep93xx_quit(void);
|
||||
|
||||
struct timespec ep93xx_zzzz;
|
||||
static struct timespec ep93xx_zzzz;
|
||||
|
||||
static struct jtag_interface ep93xx_interface = {
|
||||
.supported = DEBUG_CAP_TMS_SEQ,
|
||||
|
|
|
@ -344,7 +344,7 @@ static uint32_t vdebug_wait_server(int hsock, struct vd_shm *pmem)
|
|||
return rc;
|
||||
}
|
||||
|
||||
int vdebug_run_jtag_queue(int hsock, struct vd_shm *pm, unsigned int count)
|
||||
static int vdebug_run_jtag_queue(int hsock, struct vd_shm *pm, unsigned int count)
|
||||
{
|
||||
uint8_t num_pre, num_post, tdi, tms;
|
||||
unsigned int num, anum, bytes, hwords, words;
|
||||
|
@ -420,7 +420,7 @@ int vdebug_run_jtag_queue(int hsock, struct vd_shm *pm, unsigned int count)
|
|||
return rc;
|
||||
}
|
||||
|
||||
int vdebug_run_reg_queue(int hsock, struct vd_shm *pm, unsigned int count)
|
||||
static int vdebug_run_reg_queue(int hsock, struct vd_shm *pm, unsigned int count)
|
||||
{
|
||||
unsigned int num, awidth, wwidth;
|
||||
unsigned int req, waddr, rwords;
|
||||
|
|
Loading…
Reference in New Issue