diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-29 22:07:21 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-29 22:07:39 +0100 |
commit | 4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7 (patch) | |
tree | 5143ec75e22a2f648a9375632948ce09a16ee642 /src/pld/pld.h | |
parent | 8f93c0a3fe29313945a63b3f2154baef70acd796 (diff) | |
download | riscv-openocd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.zip riscv-openocd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.gz riscv-openocd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.bz2 |
warnings: use more 'const' for char *
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/pld/pld.h')
-rw-r--r-- | src/pld/pld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pld/pld.h b/src/pld/pld.h index d306246..3c7e4ff 100644 --- a/src/pld/pld.h +++ b/src/pld/pld.h @@ -29,7 +29,7 @@ struct pld_device; struct pld_driver { - char *name; + const char *name; __PLD_DEVICE_COMMAND((*pld_device_command)); const struct command_registration *commands; int (*load)(struct pld_device *pld_device, const char *filename); |