From: Mathias Krause Date: Sat, 13 Jun 2015 12:20:51 +0000 (+0200) Subject: mfd: intel_soc_pmic: Constify ACPI device ids X-Git-Tag: v4.14-rc1~4760^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c465875aa3934c0fdcc26f936322455569e89add;p=platform%2Fkernel%2Flinux-rpi.git mfd: intel_soc_pmic: Constify ACPI device ids Constify the ACPI device ID array, it doesn't need to be writable at runtime. Signed-off-by: Mathias Krause Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c index 7b50b6b..27e7552 100644 --- 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}, { }, };