diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-21 02:26:10 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-21 02:26:10 -0400 |
commit | e7ced4137d859c576130ce7605e5fdd13221793d (patch) | |
tree | 94680d1f5ebbb29f52570cb5e7474f25bbaedf2c /sound/firewire/bebob/bebob_focusrite.c | |
parent | 7f471fd40742a5d87d887375430bf40331cbbcf6 (diff) |
ALSA: bebob: More constify text arrays
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob/bebob_focusrite.c')
-rw-r--r-- | sound/firewire/bebob/bebob_focusrite.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/firewire/bebob/bebob_focusrite.c b/sound/firewire/bebob/bebob_focusrite.c index 45a0eed6d5b1..a45a86952a41 100644 --- a/sound/firewire/bebob/bebob_focusrite.c +++ b/sound/firewire/bebob/bebob_focusrite.c | |||
@@ -101,11 +101,11 @@ saffire_write_quad(struct snd_bebob *bebob, u64 offset, u32 value) | |||
101 | &data, sizeof(__be32), 0); | 101 | &data, sizeof(__be32), 0); |
102 | } | 102 | } |
103 | 103 | ||
104 | static char *const saffirepro_26_clk_src_labels[] = { | 104 | static const char *const saffirepro_26_clk_src_labels[] = { |
105 | SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "ADAT1", "ADAT2", "Word Clock" | 105 | SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "ADAT1", "ADAT2", "Word Clock" |
106 | }; | 106 | }; |
107 | 107 | ||
108 | static char *const saffirepro_10_clk_src_labels[] = { | 108 | static const char *const saffirepro_10_clk_src_labels[] = { |
109 | SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "Word Clock" | 109 | SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "Word Clock" |
110 | }; | 110 | }; |
111 | static int | 111 | static int |
@@ -161,7 +161,7 @@ end: | |||
161 | } | 161 | } |
162 | 162 | ||
163 | struct snd_bebob_spec saffire_le_spec; | 163 | struct snd_bebob_spec saffire_le_spec; |
164 | static char *const saffire_both_clk_src_labels[] = { | 164 | static const char *const saffire_both_clk_src_labels[] = { |
165 | SND_BEBOB_CLOCK_INTERNAL, "S/PDIF" | 165 | SND_BEBOB_CLOCK_INTERNAL, "S/PDIF" |
166 | }; | 166 | }; |
167 | static int | 167 | static int |
@@ -176,12 +176,12 @@ saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) | |||
176 | 176 | ||
177 | return err; | 177 | return err; |
178 | }; | 178 | }; |
179 | static char *const saffire_le_meter_labels[] = { | 179 | static const char *const saffire_le_meter_labels[] = { |
180 | ANA_IN, ANA_IN, DIG_IN, | 180 | ANA_IN, ANA_IN, DIG_IN, |
181 | ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT, | 181 | ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT, |
182 | STM_IN, STM_IN | 182 | STM_IN, STM_IN |
183 | }; | 183 | }; |
184 | static char *const saffire_meter_labels[] = { | 184 | static const char *const saffire_meter_labels[] = { |
185 | ANA_IN, ANA_IN, | 185 | ANA_IN, ANA_IN, |
186 | STM_IN, STM_IN, STM_IN, STM_IN, STM_IN, | 186 | STM_IN, STM_IN, STM_IN, STM_IN, STM_IN, |
187 | }; | 187 | }; |