commit | f98786da9d18ee1ecfac4a68e532b1859cf7d1c0 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Mon Aug 21 22:33:56 2017 +0530 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Nov 06 00:56:55 2017 +0100 |
tree | cd6b907e5e0fd59e9a6e07cd1a8719c90006059d | |
parent | 01e682ad085d0e7d253c3bad557a2a4b08bbf5fe [diff] |
nfc: pn533: constify i2c_device_id i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by <linux/i2c.h> work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>