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

From: Sergei Shtylyov
Date: Mon Aug 14 2017 - 07:42:08 EST


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 <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@xxxxxxxxx>

Acked-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>

though it seems too late as DaveM has taken the series...

[...]

MBR, Sergei