summaryrefslogtreecommitdiff
path: root/arch/arm/lib/strchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/strchr.S')
-rw-r--r--arch/arm/lib/strchr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/strchr.S b/arch/arm/lib/strchr.S
index d8f2a1c1aea4..013d64c71e8d 100644
--- a/arch/arm/lib/strchr.S
+++ b/arch/arm/lib/strchr.S
@@ -23,5 +23,5 @@ ENTRY(strchr)
teq r2, r1
movne r0, #0
subeq r0, r0, #1
- mov pc, lr
+ ret lr
ENDPROC(strchr)