Re: [PATCH 3/4] net: sh_eth: constify platform_device_id

2017-08-14 Thread Sergei Shtylyov
Hello! On 08/13/2017 02:12 PM, Arvind Yadav wrote: platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav

[PATCH 3/4] net: sh_eth: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/renesas/sh_eth.c | 2