diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-05-03 22:54:33 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-05-03 23:00:58 -0400 |
commit | 79864c6ec22370ae31d3259a17e0c93db3cdae61 (patch) | |
tree | 6de3a54700d84db34eab150740006dd74d359cd2 /firmware/target/hosted/ibasso | |
parent | 4dd3c2b33ec3d181f54cc1bcf5b596401a8cfcbb (diff) | |
download | rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.tar.gz rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.zip |
add const to const * strings
I don't think this will amke any difference except maybe for hosted ports
Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41
Diffstat (limited to 'firmware/target/hosted/ibasso')
-rw-r--r-- | firmware/target/hosted/ibasso/pcm-ibasso.c | 2 | ||||
-rw-r--r-- | firmware/target/hosted/ibasso/sysfs-ibasso.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/ibasso/pcm-ibasso.c b/firmware/target/hosted/ibasso/pcm-ibasso.c index 5c68ded3e1..889386b7c6 100644 --- a/firmware/target/hosted/ibasso/pcm-ibasso.c +++ b/firmware/target/hosted/ibasso/pcm-ibasso.c | |||
@@ -123,7 +123,7 @@ static void* pcm_thread_run(void* nothing) | |||
123 | 123 | ||
124 | /* https://github.com/tinyalsa/tinyalsa/blob/master/tinypcminfo.c */ | 124 | /* https://github.com/tinyalsa/tinyalsa/blob/master/tinypcminfo.c */ |
125 | 125 | ||
126 | static const char* format_lookup[] = | 126 | static const char* const format_lookup[] = |
127 | { | 127 | { |
128 | /*[0] =*/ "S8", | 128 | /*[0] =*/ "S8", |
129 | "U8", | 129 | "U8", |
diff --git a/firmware/target/hosted/ibasso/sysfs-ibasso.c b/firmware/target/hosted/ibasso/sysfs-ibasso.c index 8f62e3fec2..e3a0f911af 100644 --- a/firmware/target/hosted/ibasso/sysfs-ibasso.c +++ b/firmware/target/hosted/ibasso/sysfs-ibasso.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "sysfs-ibasso.h" | 32 | #include "sysfs-ibasso.h" |
33 | 33 | ||
34 | 34 | ||
35 | static const char* SYSFS_PATHS[] = | 35 | static const char* const SYSFS_PATHS[] = |
36 | { | 36 | { |
37 | /* SYSFS_DX50_CODEC_VOLUME */ | 37 | /* SYSFS_DX50_CODEC_VOLUME */ |
38 | "/dev/codec_volume", | 38 | "/dev/codec_volume", |