From 89bf96ffe6ac66c80407af8383b9d5adc0dc35f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20F=C3=A4rber?= Date: Mon, 16 May 2016 05:54:41 +0200 Subject: [PATCH] kinetis: Fix typo in variable names MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's security, not securtiy. Change-Id: Idb10d7e0a1ca47d2d93b496d12cd4ec7ad116f22 Signed-off-by: Andreas Färber Reviewed-on: http://openocd.zylin.com/3487 Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/flash/nor/kinetis.c | 4 ++-- src/flash/nor/kinetis_ke.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c index 4749c7bb..3a9d4acc 100644 --- a/src/flash/nor/kinetis.c +++ b/src/flash/nor/kinetis.c @@ -1920,7 +1920,7 @@ COMMAND_HANDLER(kinetis_nvm_partition) } -static const struct command_registration kinetis_securtiy_command_handlers[] = { +static const struct command_registration kinetis_security_command_handlers[] = { { .name = "check_security", .mode = COMMAND_EXEC, @@ -1944,7 +1944,7 @@ static const struct command_registration kinetis_exec_command_handlers[] = { .mode = COMMAND_ANY, .help = "", .usage = "", - .chain = kinetis_securtiy_command_handlers, + .chain = kinetis_security_command_handlers, }, { .name = "disable_wdog", diff --git a/src/flash/nor/kinetis_ke.c b/src/flash/nor/kinetis_ke.c index 4ccbe76c..593443cf 100644 --- a/src/flash/nor/kinetis_ke.c +++ b/src/flash/nor/kinetis_ke.c @@ -1241,7 +1241,7 @@ static int kinetis_ke_blank_check(struct flash_bank *bank) return ERROR_OK; } -static const struct command_registration kinetis_ke_securtiy_command_handlers[] = { +static const struct command_registration kinetis_ke_security_command_handlers[] = { { .name = "check_security", .mode = COMMAND_EXEC, @@ -1272,7 +1272,7 @@ static const struct command_registration kinetis_ke_exec_command_handlers[] = { .mode = COMMAND_ANY, .help = "", .usage = "", - .chain = kinetis_ke_securtiy_command_handlers, + .chain = kinetis_ke_security_command_handlers, }, { .name = "disable_wdog", -- 2.39.5