diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-06-13 15:25:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-15 13:32:07 +0300 |
commit | e85dae7048dc53b6945219b02c56041e4a661e6c (patch) | |
tree | 50db9185eb8b1af9aecddf7d1635f59b4fe621fe | |
parent | e8ed6702746650d09a6cb3fc89d979a92f1ed49b (diff) | |
download | linux-e85dae7048dc53b6945219b02c56041e4a661e6c.tar.xz |
ASoC: intel: Constify ACPI device ids
Constify the ACPI device ID array, it doesn't need to be writable at
runtime.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/common/sst-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/common/sst-acpi.c b/sound/soc/intel/common/sst-acpi.c index 42f293f9c6e2..67b6d3d52f57 100644 --- a/sound/soc/intel/common/sst-acpi.c +++ b/sound/soc/intel/common/sst-acpi.c @@ -263,7 +263,7 @@ static struct sst_acpi_desc sst_acpi_baytrail_desc = { .resindex_dma_base = -1, }; -static struct acpi_device_id sst_acpi_match[] = { +static const struct acpi_device_id sst_acpi_match[] = { { "INT33C8", (unsigned long)&sst_acpi_haswell_desc }, { "INT3438", (unsigned long)&sst_acpi_broadwell_desc }, { "80860F28", (unsigned long)&sst_acpi_baytrail_desc }, |