Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: imu: bmi323: Make the local structures static

Make the local structures static within their respective driver files.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311070530.qKhLTz1Y-lkp@intel.com/
Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com>
Link: https://lore.kernel.org/r/20231108035831.5889-1-jagathjog1996@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Jagath Jog J and committed by
Jonathan Cameron
44482310 00799564

+2 -2
+1 -1
drivers/iio/imu/bmi323/bmi323_i2c.c
··· 66 66 .write = bmi323_regmap_i2c_write, 67 67 }; 68 68 69 - const struct regmap_config bmi323_i2c_regmap_config = { 69 + static const struct regmap_config bmi323_i2c_regmap_config = { 70 70 .reg_bits = 8, 71 71 .val_bits = 16, 72 72 .max_register = BMI323_CFG_RES_REG,
+1 -1
drivers/iio/imu/bmi323/bmi323_spi.c
··· 41 41 .write = bmi323_regmap_spi_write, 42 42 }; 43 43 44 - const struct regmap_config bmi323_spi_regmap_config = { 44 + static const struct regmap_config bmi323_spi_regmap_config = { 45 45 .reg_bits = 8, 46 46 .val_bits = 16, 47 47 .pad_bits = 8,