Commit ff1c17e9 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Jonathan Cameron

iio: magnetometer: yamaha-yas530: Make strings const in chip info

For better compiler coverage mark strings consts in the chip info.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220831141530.80572-2-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 741d1e37
......@@ -189,8 +189,8 @@ struct yas5xx;
*/
struct yas5xx_chip_info {
unsigned int devid;
char *product_name;
char *version_names[2];
const char *product_name;
const char *version_names[2];
const int *volatile_reg;
int volatile_reg_qty;
u32 scaling_val2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment