--- zzzz-none-000/linux-3.10.107/include/linux/regmap.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/regmap.h 2021-11-10 11:53:56.000000000 +0000 @@ -69,6 +69,8 @@ unsigned int range_max; }; +#define regmap_reg_range(low, high) { .range_min = low, .range_max = high, } + /* * A table of ranges including some yes ranges and some no ranges. * If a register belongs to a no_range, the corresponding check function