projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ed670
)
ASoC: intel: Constify ACPI device ids
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:25:16 +0000
(14:25 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Jun 2015 10:32:07 +0000
(11:32 +0100)
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>
sound/soc/intel/common/sst-acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/intel/common/sst-acpi.c
b/sound/soc/intel/common/sst-acpi.c
index 42f293f9c6e2dcfbdf5da2f451a6cf196fc296dc..67b6d3d52f57f69f4dd6fed65cc8546b694996ee 100644
(file)
--- 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 },