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
/
str9x.c
diff --git
a/src/flash/nor/str9x.c
b/src/flash/nor/str9x.c
index 37700ce36d9bfb693fcfca15329cf8804dd091ab..85cbe6a4fe4cbbd215bcf89b2130f5aab26a491e 100644
(file)
--- a/
src/flash/nor/str9x.c
+++ b/
src/flash/nor/str9x.c
@@
-667,7
+667,7
@@
static const struct command_registration str9x_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver str9x_flash = {
+
const
struct flash_driver str9x_flash = {
.name = "str9x",
.commands = str9x_command_handlers,
.flash_bank_command = str9x_flash_bank_command,