aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_dpm.h
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2018-11-03 14:52:30 +0100
committerMatthias Welwarsky <matthias@welwarsky.de>2018-11-06 12:18:40 +0000
commitcf9c0fba9bae1eead383db94a9865f34eac6c811 (patch)
tree3f8a8c926cdf4558d947758c532b9665d19428e2 /src/target/arm_dpm.h
parentfac9be64d9444138c77ffe45078a85e063593a38 (diff)
downloadriscv-openocd-cf9c0fba9bae1eead383db94a9865f34eac6c811.zip
riscv-openocd-cf9c0fba9bae1eead383db94a9865f34eac6c811.tar.gz
riscv-openocd-cf9c0fba9bae1eead383db94a9865f34eac6c811.tar.bz2
target/arm_dpm: uniform names of exported functions
The name of the function dpm_modeswitch() does not follow the common style of the other function names in the same file. Rename it as arm_dpm_modeswitch(). Change-Id: Idebf3c7bbddcd9b3c7b44f8d0dea1e5f7549b0eb Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/4756 Tested-by: jenkins Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'src/target/arm_dpm.h')
-rw-r--r--src/target/arm_dpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h
index f8d1248..ea6b25a 100644
--- a/src/target/arm_dpm.h
+++ b/src/target/arm_dpm.h
@@ -153,7 +153,7 @@ int arm_dpm_setup(struct arm_dpm *dpm);
int arm_dpm_initialize(struct arm_dpm *dpm);
int arm_dpm_read_current_registers(struct arm_dpm *);
-int dpm_modeswitch(struct arm_dpm *dpm, enum arm_mode mode);
+int arm_dpm_modeswitch(struct arm_dpm *dpm, enum arm_mode mode);
int arm_dpm_write_dirty_registers(struct arm_dpm *, bool bpwp);