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
/
str9xpec.c
diff --git
a/src/flash/nor/str9xpec.c
b/src/flash/nor/str9xpec.c
index 29e0977bb435ec1cf4eadd02b94b19ae988995b7..b618706b9497e2117e6f46acdbbc89dddc7ad072 100644
(file)
--- a/
src/flash/nor/str9xpec.c
+++ b/
src/flash/nor/str9xpec.c
@@
-1195,7
+1195,7
@@
static const struct command_registration str9xpec_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver str9xpec_flash = {
+
const
struct flash_driver str9xpec_flash = {
.name = "str9xpec",
.commands = str9xpec_command_handlers,
.flash_bank_command = str9xpec_flash_bank_command,