| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sysfs interface for HD-audio codec |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 14 | 15 | #include <linux/string.h> |
|---|
| 15 | 16 | #include <linux/export.h> |
|---|
| 16 | 17 | #include <sound/core.h> |
|---|
| 17 | | -#include "hda_codec.h" |
|---|
| 18 | +#include <sound/hda_codec.h> |
|---|
| 18 | 19 | #include "hda_local.h" |
|---|
| 19 | 20 | #include <sound/hda_hwdep.h> |
|---|
| 20 | 21 | #include <sound/minors.h> |
|---|
| .. | .. |
|---|
| 610 | 611 | void (*parser)(char *buf, struct hda_bus *bus, struct hda_codec **retc); |
|---|
| 611 | 612 | }; |
|---|
| 612 | 613 | |
|---|
| 613 | | -static struct hda_patch_item patch_items[NUM_LINE_MODES] = { |
|---|
| 614 | +static const struct hda_patch_item patch_items[NUM_LINE_MODES] = { |
|---|
| 614 | 615 | [LINE_MODE_CODEC] = { |
|---|
| 615 | 616 | .tag = "[codec]", |
|---|
| 616 | 617 | .parser = parse_codec_mode, |
|---|