Re: [PATCH 3/3] iio: chemical: scd30: make command lookup table const
From: Stepan Ionichev
Date: Sat May 09 2026 - 14:32:11 EST
scd30_i2c_cmd_lookup_tbl[] holds the fixed CMD_* opcodes and is only
ever read in scd30_i2c_command() (via put_unaligned_be16 of the looked
up entry). Marking it const matches how it is used and lets the table
land in .rodata.
Reviewed-by: Stepan Ionichev <sozdayvek@xxxxxxxxx>
Stepan