of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by work with const
of_device_ids. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
10821048 3362466 9a2 arch/sparc/ke
From: Arvind Yadav
Date: Thu, 15 Jun 2017 16:30:20 +0530
> of_device_ids are not supposed to change at runtime. All functions
> working with of_device_ids provided by work with const
> of_device_ids. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
Applied.
of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by work with const
of_device_ids. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
arch/sparc/kernel/time_32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif
3 matches
Mail list logo