diff --git a/include/linux/regmap.h b/include/linux/regmap.h index a10380bfbeac9b4c4d018c99a5c914d672833f04..7d3ae2be6869ea911db7cb57a308df43ab370b74 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -70,6 +70,8 @@ struct regmap_range { 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