projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: constify structures
[fw/openocd]
/
src
/
target
/
dsp563xx_once.h
diff --git
a/src/target/dsp563xx_once.h
b/src/target/dsp563xx_once.h
index b0be95bd153cfee902631ae70d18afa16061d58c..8835d553dc2ac3e48668d738d0a61816e489b2a3 100644
(file)
--- a/
src/target/dsp563xx_once.h
+++ b/
src/target/dsp563xx_once.h
@@
-63,9
+63,9
@@
#define DSP563XX_ONCE_NOREG 0x01F /* no register selected */
struct once_reg {
- uint8_t num;
- uint8_t addr;
- uint8_t len;
+
const
uint8_t num;
+
const
uint8_t addr;
+
const
uint8_t len;
const char *name;
uint32_t reg;
};