Messages in this thread | | | Date | Tue, 28 Nov 2017 12:20:27 +0200 | From | Mika Westerberg <> | Subject | Re: [PATCH 1/2] ACPI / PMIC: constify platform_device_id |
| |
On Tue, Nov 28, 2017 at 03:31:50PM +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by <linux/platform_device.h> > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
| |