can: constify platform_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 13 Aug 2017 11:11:45 +0000 (16:41 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:12:23 +0000 (20:12 -0700)
commit7496bece4dbbdc5b849cdcad8c6d99f9a0185c93
tree345685f730b6799906f8d9d76b6d2d3abd808d97
parentd17eb73bb713dc8dd389aa87606b90edb0d258b2
can: constify platform_device_id

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/c_can/c_can_platform.c