aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_dap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/arm_dap.c')
-rw-r--r--src/target/arm_dap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm_dap.c b/src/target/arm_dap.c
index 0f29578..4be94b4 100644
--- a/src/target/arm_dap.c
+++ b/src/target/arm_dap.c
@@ -34,7 +34,7 @@ static LIST_HEAD(all_dap);
extern const struct dap_ops swd_dap_ops;
extern const struct dap_ops jtag_dp_ops;
-extern struct jtag_interface *jtag_interface;
+extern struct adapter_driver *adapter_driver;
/* DAP command support */
struct arm_dap_object {
@@ -118,7 +118,7 @@ static int dap_init_all(void)
if (transport_is_swd()) {
dap->ops = &swd_dap_ops;
- obj->swd = jtag_interface->swd;
+ obj->swd = adapter_driver->swd_ops;
} else
dap->ops = &jtag_dp_ops;