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>
This commit is contained in:
parent
00799564ba
commit
44482310b7
@ -66,7 +66,7 @@ static struct regmap_bus bmi323_regmap_bus = {
|
||||
.write = bmi323_regmap_i2c_write,
|
||||
};
|
||||
|
||||
const struct regmap_config bmi323_i2c_regmap_config = {
|
||||
static const struct regmap_config bmi323_i2c_regmap_config = {
|
||||
.reg_bits = 8,
|
||||
.val_bits = 16,
|
||||
.max_register = BMI323_CFG_RES_REG,
|
||||
|
@ -41,7 +41,7 @@ static struct regmap_bus bmi323_regmap_bus = {
|
||||
.write = bmi323_regmap_spi_write,
|
||||
};
|
||||
|
||||
const struct regmap_config bmi323_spi_regmap_config = {
|
||||
static const struct regmap_config bmi323_spi_regmap_config = {
|
||||
.reg_bits = 8,
|
||||
.val_bits = 16,
|
||||
.pad_bits = 8,
|
||||
|
Loading…
x
Reference in New Issue
Block a user