hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/sound/pci/hda/hda_sysfs.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * sysfs interface for HD-audio codec
34 *
....@@ -14,7 +15,7 @@
1415 #include <linux/string.h>
1516 #include <linux/export.h>
1617 #include <sound/core.h>
17
-#include "hda_codec.h"
18
+#include <sound/hda_codec.h>
1819 #include "hda_local.h"
1920 #include <sound/hda_hwdep.h>
2021 #include <sound/minors.h>
....@@ -610,7 +611,7 @@
610611 void (*parser)(char *buf, struct hda_bus *bus, struct hda_codec **retc);
611612 };
612613
613
-static struct hda_patch_item patch_items[NUM_LINE_MODES] = {
614
+static const struct hda_patch_item patch_items[NUM_LINE_MODES] = {
614615 [LINE_MODE_CODEC] = {
615616 .tag = "[codec]",
616617 .parser = parse_codec_mode,