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> |
||
---|---|---|
.. | ||
core.c | ||
i2c.c | ||
Kconfig | ||
Makefile | ||
ndlc.c | ||
ndlc.h | ||
se.c | ||
spi.c | ||
st-nci.h | ||
vendor_cmds.c |