commit | 99b1ddf94d2b25fdfac5d0989a08228870bd4e00 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sat Aug 19 15:20:42 2017 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Sat Aug 26 08:42:12 2017 -0400 |
tree | fbeeaf61d15b3ea814af435fa89f53d2e1bd12bc | |
parent | 6843868fd092406b544064e4db1ca902af13cf48 [diff] |
media: ad9389b: 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>