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
/
max32xxx.c
diff --git
a/src/flash/nor/max32xxx.c
b/src/flash/nor/max32xxx.c
index ca037de4d5389e924270b6a834c83662af4eb0dd..12e3db9403530e942a7ab1872bf9e29106345ccf 100644
(file)
--- a/
src/flash/nor/max32xxx.c
+++ b/
src/flash/nor/max32xxx.c
@@
-981,7
+981,7
@@
static const struct command_registration max32xxx_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver max32xxx_flash = {
+
const
struct flash_driver max32xxx_flash = {
.name = "max32xxx",
.commands = max32xxx_command_handlers,
.flash_bank_command = max32xxx_flash_bank_command,