diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-19 15:20:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-26 08:42:28 -0400 |
commit | 4bd7466bf73a3b2e7a0308eb510a9746a84ab7dd (patch) | |
tree | 2931dcc70be9a3b6ed03eb0c715646fc06b13440 /drivers/media/i2c/adv7393.c | |
parent | 99b1ddf94d2b25fdfac5d0989a08228870bd4e00 (diff) |
media: adv7511: 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/adv7393.c')
0 files changed, 0 insertions, 0 deletions