projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Constify struct flash_driver instances
[fw/openocd]
/
src
/
flash
/
nor
/
at91sam4l.c
diff --git
a/src/flash/nor/at91sam4l.c
b/src/flash/nor/at91sam4l.c
index f3b065f40914573a4cafcbc39ff57dfb9c907287..1c2402ff063ccd550e0af87447db2c834f5ce40f 100644
(file)
--- a/
src/flash/nor/at91sam4l.c
+++ b/
src/flash/nor/at91sam4l.c
@@
-684,7
+684,7
@@
static const struct command_registration at91sam4l_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver at91sam4l_flash = {
+
const
struct flash_driver at91sam4l_flash = {
.name = "at91sam4l",
.commands = at91sam4l_command_handlers,
.flash_bank_command = sam4l_flash_bank_command,