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
/
aduc702x.c
diff --git
a/src/flash/nor/aduc702x.c
b/src/flash/nor/aduc702x.c
index 824112b1bc44a57090f73923996a095918f224d6..b6e19376c3703600a5fd74a2018c6cfb2ce153a9 100644
(file)
--- a/
src/flash/nor/aduc702x.c
+++ b/
src/flash/nor/aduc702x.c
@@
-378,7
+378,7
@@
static int aduc702x_check_flash_completion(struct target *target, unsigned int t
return ERROR_OK;
}
-struct flash_driver aduc702x_flash = {
+
const
struct flash_driver aduc702x_flash = {
.name = "aduc702x",
.flash_bank_command = aduc702x_flash_bank_command,
.erase = aduc702x_erase,