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:
d548ca4
)
mfd: intel_soc_pmic: Constify ACPI device ids
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:20:51 +0000
(14:20 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 11 Aug 2015 14:08:38 +0000
(15:08 +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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_soc_pmic_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/intel_soc_pmic_core.c
b/drivers/mfd/intel_soc_pmic_core.c
index 7b50b6b208a5b04bf578804590add7117d21deb0..27e7552a29ddfb087848ca99b937e1bedcbde3d7 100644
(file)
--- a/
drivers/mfd/intel_soc_pmic_core.c
+++ b/
drivers/mfd/intel_soc_pmic_core.c
@@
-147,7
+147,7
@@
static const struct i2c_device_id intel_soc_pmic_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, intel_soc_pmic_i2c_id);
#if defined(CONFIG_ACPI)
-static struct acpi_device_id intel_soc_pmic_acpi_match[] = {
+static
const
struct acpi_device_id intel_soc_pmic_acpi_match[] = {
{"INT33FD", (kernel_ulong_t)&intel_soc_pmic_config_crc},
{ },
};