forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/ac97/snd_ac97_compat.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #include <linux/list.h>
....@@ -56,7 +53,7 @@
5653 return actrl->ops->read(actrl, ac97->num, reg);
5754 }
5855
59
-static struct snd_ac97_bus_ops compat_snd_ac97_bus_ops = {
56
+static const struct snd_ac97_bus_ops compat_snd_ac97_bus_ops = {
6057 .reset = compat_ac97_reset,
6158 .warm_reset = compat_ac97_warm_reset,
6259 .write = compat_ac97_write,