From: Andreas Färber Date: Mon, 16 May 2016 03:54:41 +0000 (+0200) Subject: kinetis: Fix typo in variable names X-Git-Tag: v0.10.0-rc1~175 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89bf96ffe6ac66c80407af8383b9d5adc0dc35f4;p=openocd kinetis: Fix typo in variable names 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 --- 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",