summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm11.c2
-rw-r--r--src/target/etb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c
index e4f53f1a..c55392f4 100644
--- a/src/target/arm11.c
+++ b/src/target/arm11.c
@@ -1837,7 +1837,7 @@ arm11_common_t * arm11_find_target(const char * arg)
jtag_tap_t * tap;
target_t * t;
- tap = jtag_TapByString(arg);
+ tap = jtag_tap_by_string(arg);
if (!tap)
return 0;
diff --git a/src/target/etb.c b/src/target/etb.c
index d1c60a74..5791e578 100644
--- a/src/target/etb.c
+++ b/src/target/etb.c
@@ -386,7 +386,7 @@ static int handle_etb_config_command(struct command_context_s *cmd_ctx, char *cm
return ERROR_FAIL;
}
- tap = jtag_TapByString( args[1] );
+ tap = jtag_tap_by_string( args[1] );
if (tap == NULL)
{
command_print(cmd_ctx, "Tap: %s does not exist", args[1] );