drivers/iio/accel/kxcjk-1013.c:150:30: warning: symbol 'kxcjk1013_regs' was not declared. Should it be static? drivers/iio/accel/kxcjk-1013.c:162:30: warning: symbol 'kxtf9_regs' was not declared. Should it be static? Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: kernel test robot <lkp@xxxxxxxxx> --- kxcjk-1013.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 8800ebf47b5a7..492f576f97348 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c @@ -147,7 +147,7 @@ struct kx_chipset_regs { u8 wake_thres; }; -const struct kx_chipset_regs kxcjk1013_regs = { +static const struct kx_chipset_regs kxcjk1013_regs = { .int_src1 = KXCJK1013_REG_INT_SRC1, .int_src2 = KXCJK1013_REG_INT_SRC2, .int_rel = KXCJK1013_REG_INT_REL, @@ -159,7 +159,7 @@ const struct kx_chipset_regs kxcjk1013_regs = { .wake_thres = KXCJK1013_REG_WAKE_THRES, }; -const struct kx_chipset_regs kxtf9_regs = { +static const struct kx_chipset_regs kxtf9_regs = { /* .int_src1 was moved to INT_SRC2 on KXTF9 */ .int_src1 = KXTF9_REG_INT_SRC2, /* .int_src2 is not available */