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
/
xcf.c
diff --git
a/src/flash/nor/xcf.c
b/src/flash/nor/xcf.c
index bc4b1be5edbeaf80379f8b1c5d97bf7197b40b2b..a0c35c5e52ff13080d8885ebf01ddcfdb63f2754 100644
(file)
--- a/
src/flash/nor/xcf.c
+++ b/
src/flash/nor/xcf.c
@@
-881,7
+881,7
@@
static const struct command_registration xcf_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver xcf_flash = {
+
const
struct flash_driver xcf_flash = {
.name = "xcf",
.usage = NULL,
.commands = xcf_command_handlers,