mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ static const struct i2c_device_id intel_soc_pmic_i2c_id[] = {
|
||||||
MODULE_DEVICE_TABLE(i2c, intel_soc_pmic_i2c_id);
|
MODULE_DEVICE_TABLE(i2c, intel_soc_pmic_i2c_id);
|
||||||
|
|
||||||
#if defined(CONFIG_ACPI)
|
#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},
|
{"INT33FD", (kernel_ulong_t)&intel_soc_pmic_config_crc},
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue