forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/sound/pci/cs5535audio/cs5535audio_olpc.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * OLPC XO-1 additional sound features
34 *
45 * Copyright © 2006 Jaya Kumar <jayakumar.lkml@gmail.com>
56 * Copyright © 2007-2008 Andres Salomon <dilinger@debian.org>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 */
128 #include <sound/core.h>
139 #include <sound/info.h>
....@@ -115,7 +111,7 @@
115111 return 1;
116112 }
117113
118
-static struct snd_kcontrol_new olpc_cs5535audio_ctls[] = {
114
+static const struct snd_kcontrol_new olpc_cs5535audio_ctls[] = {
119115 {
120116 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
121117 .name = "DC Mode Enable",