Re: [PATCH] sparc: leon: grpci1: constify of_device_id

2017-08-28 Thread David Miller
From: Arvind Yadav Date: Sat, 26 Aug 2017 16:58:48 +0530 > of_device_id are not supposed to change at runtime. All functions > working with of_device_id provided by work with const > of_device_ids. So mark the const and __initconst. > > Signed-off-by: Arvind Yadav Applied.

[PATCH] sparc: leon: grpci1: constify of_device_id

2017-08-26 Thread Arvind Yadav
of_device_id are not supposed to change at runtime. All functions working with of_device_id provided by work with const of_device_ids. So mark the const and __initconst. Signed-off-by: Arvind Yadav --- arch/sparc/kernel/leon_pci_grpci1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di