commit | 7496bece4dbbdc5b849cdcad8c6d99f9a0185c93 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sun Aug 13 16:41:45 2017 +0530 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 13 20:12:23 2017 -0700 |
tree | 345685f730b6799906f8d9d76b6d2d3abd808d97 | |
parent | d17eb73bb713dc8dd389aa87606b90edb0d258b2 [diff] |
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>