summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/arm920t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index 31751960..03aa233d 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -592,7 +592,7 @@ int arm920t_write_memory(struct target *target, uint32_t address,
/*
* We need physical address and cb
*/
- int retval = armv4_5_mmu_translate_va(target, &arm920t->armv4_5_mmu,
+ retval = armv4_5_mmu_translate_va(target, &arm920t->armv4_5_mmu,
address, &type, &cb, &domain, &ap, &pa);
if (retval != ERROR_OK)
return retval;