mfd: intel_soc_pmic: Constify ACPI device ids
authorMathias Krause <minipli@googlemail.com>
Sat, 13 Jun 2015 12:20:51 +0000 (14:20 +0200)
committerLee 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

index 7b50b6b208a5b04bf578804590add7117d21deb0..27e7552a29ddfb087848ca99b937e1bedcbde3d7 100644 (file)
@@ -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},
        { },
 };