forked from luck/tmp_suning_uos_patched
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 <minipli@googlemail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
d548ca43d0
commit
c465875aa3
@ -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},
|
||||
{ },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user