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
/
faux.c
diff --git
a/src/flash/nor/faux.c
b/src/flash/nor/faux.c
index d68940fc6ea2dfe86052f9c703111e78d249efd4..49b6dccd0179268f4ae599b934baf37831b8ad10 100644
(file)
--- a/
src/flash/nor/faux.c
+++ b/
src/flash/nor/faux.c
@@
-113,7
+113,7
@@
static const struct command_registration faux_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver faux_flash = {
+
const
struct flash_driver faux_flash = {
.name = "faux",
.commands = faux_command_handlers,
.flash_bank_command = faux_flash_bank_command,