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
/
lpc2000.c
diff --git
a/src/flash/nor/lpc2000.c
b/src/flash/nor/lpc2000.c
index 58afd79ac650a31f97c2669f29ea76902f475396..cb3f58e87074a395538d85a84149a6084d5a1d9a 100644
(file)
--- a/
src/flash/nor/lpc2000.c
+++ b/
src/flash/nor/lpc2000.c
@@
-1609,7
+1609,7
@@
static const struct command_registration lpc2000_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver lpc2000_flash = {
+
const
struct flash_driver lpc2000_flash = {
.name = "lpc2000",
.commands = lpc2000_command_handlers,
.flash_bank_command = lpc2000_flash_bank_command,