Skip to content

Commit f167c1a

Browse files
andy-shevrafaeljw
authored andcommitted
ACPI: LPSS: Constify properties member in struct lpss_device_desc
The properties are static and not supposed to be modified, constify them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 2cbfae0 commit f167c1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/acpi_lpss.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct lpss_device_desc {
8282
const char *clk_con_id;
8383
unsigned int prv_offset;
8484
size_t prv_size_override;
85-
struct property_entry *properties;
85+
const struct property_entry *properties;
8686
void (*setup)(struct lpss_private_data *pdata);
8787
bool resume_from_noirq;
8888
};

0 commit comments

Comments
 (0)