summaryrefslogtreecommitdiffstats
path: root/sound/firewire/bebob/bebob_focusrite.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-10-21 08:26:10 +0200
committerTakashi Iwai <tiwai@suse.de>2014-10-21 08:26:10 +0200
commite7ced4137d859c576130ce7605e5fdd13221793d (patch)
tree94680d1f5ebbb29f52570cb5e7474f25bbaedf2c /sound/firewire/bebob/bebob_focusrite.c
parent7f471fd40742a5d87d887375430bf40331cbbcf6 (diff)
downloadtalos-obmc-linux-e7ced4137d859c576130ce7605e5fdd13221793d.tar.gz
talos-obmc-linux-e7ced4137d859c576130ce7605e5fdd13221793d.zip
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.c10
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)
&data, sizeof(__be32), 0);
}
-static char *const saffirepro_26_clk_src_labels[] = {
+static const char *const saffirepro_26_clk_src_labels[] = {
SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "ADAT1", "ADAT2", "Word Clock"
};
-static char *const saffirepro_10_clk_src_labels[] = {
+static const char *const saffirepro_10_clk_src_labels[] = {
SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "Word Clock"
};
static int
@@ -161,7 +161,7 @@ end:
}
struct snd_bebob_spec saffire_le_spec;
-static char *const saffire_both_clk_src_labels[] = {
+static const char *const saffire_both_clk_src_labels[] = {
SND_BEBOB_CLOCK_INTERNAL, "S/PDIF"
};
static int
@@ -176,12 +176,12 @@ saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id)
return err;
};
-static char *const saffire_le_meter_labels[] = {
+static const char *const saffire_le_meter_labels[] = {
ANA_IN, ANA_IN, DIG_IN,
ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT,
STM_IN, STM_IN
};
-static char *const saffire_meter_labels[] = {
+static const char *const saffire_meter_labels[] = {
ANA_IN, ANA_IN,
STM_IN, STM_IN, STM_IN, STM_IN, STM_IN,
};
OpenPOWER on IntegriCloud