Message ID | 20220223235622.19555-2-andriy.shevchenko@linux.intel.com |
---|---|
State | Accepted |
Commit | f167c1a13879a76efd622e8d857609108ef57162 |
Headers | show |
Series | [v1,1/3] ACPI: platform: Constify properties parameter in acpi_create_platform_device() | expand |
diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c index bcae0f03572b..c28954411af9 100644 --- a/drivers/acpi/acpi_lpss.c +++ b/drivers/acpi/acpi_lpss.c @@ -82,7 +82,7 @@ struct lpss_device_desc { const char *clk_con_id; unsigned int prv_offset; size_t prv_size_override; - struct property_entry *properties; + const struct property_entry *properties; void (*setup)(struct lpss_private_data *pdata); bool resume_from_noirq; };
The properties are static and not supposed to be modified, constify them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/acpi/acpi_lpss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)