Re: [PATCH] sparc: kernel: pmc: make of_device_ids const.
From: David Miller
Date: Mon Jul 03 2017 - 05:53:59 EST
From: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
Date: Tue, 27 Jun 2017 14:39:58 +0530
> of_device_ids are not supposed to change at runtime. All functions
> working with of_device_ids provided by <linux/of.h> work with const
> of_device_ids. So mark the non-const structs as const.
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>