From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- kernel/sound/aoa/codecs/toonie.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/sound/aoa/codecs/toonie.c b/kernel/sound/aoa/codecs/toonie.c index 7e8c341..c2d0144 100644 --- a/kernel/sound/aoa/codecs/toonie.c +++ b/kernel/sound/aoa/codecs/toonie.c @@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Apple Onboard Audio driver for Toonie codec * * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> - * - * GPL v2, can be found in COPYING. - * * * This is a driver for the toonie codec chip. This chip is present * on the Mac Mini and is nothing but a DAC. @@ -32,7 +30,7 @@ return 0; } -static struct snd_device_ops ops = { +static const struct snd_device_ops ops = { .dev_register = toonie_dev_register, }; -- Gitblit v1.6.2