aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/alsa_mixer.c2
-rw-r--r--src/mixer/oss_mixer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer/alsa_mixer.c b/src/mixer/alsa_mixer.c
index aafc8f5d9..36ae76cc9 100644
--- a/src/mixer/alsa_mixer.c
+++ b/src/mixer/alsa_mixer.c
@@ -237,7 +237,7 @@ alsa_mixer_control(struct mixer_data *data, int cmd, void *arg)
return false;
}
-struct mixer_plugin alsa_mixer = {
+const struct mixer_plugin alsa_mixer = {
.init = alsa_mixer_init,
.finish = alsa_mixer_finish,
.configure = alsa_mixer_configure,
diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer.c
index ad25099ab..5185a867d 100644
--- a/src/mixer/oss_mixer.c
+++ b/src/mixer/oss_mixer.c
@@ -218,7 +218,7 @@ oss_mixer_control(struct mixer_data *data, int cmd, void *arg)
return false;
}
-struct mixer_plugin oss_mixer = {
+const struct mixer_plugin oss_mixer = {
.init = oss_mixer_init,
.finish = oss_mixer_finish,
.configure = oss_mixer_configure,