forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/aoa/core/alsa.c
....@@ -1,9 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Apple Onboard Audio Alsa helpers
34 *
45 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
5
- *
6
- * GPL v2, can be found in COPYING.
76 */
87 #include <linux/module.h>
98 #include "alsa.h"
....@@ -60,7 +59,7 @@
6059 }
6160
6261 int aoa_snd_device_new(enum snd_device_type type,
63
- void * device_data, struct snd_device_ops * ops)
62
+ void *device_data, const struct snd_device_ops *ops)
6463 {
6564 struct snd_card *card = aoa_get_card();
6665 int err;