diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/regmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index a10380bfbeac..7d3ae2be6869 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -70,6 +70,8 @@ struct regmap_range { | |||
| 70 | unsigned int range_max; | 70 | unsigned int range_max; |
| 71 | }; | 71 | }; |
| 72 | 72 | ||
| 73 | #define regmap_reg_range(low, high) { .range_min = low, .range_max = high, } | ||
| 74 | |||
| 73 | /* | 75 | /* |
| 74 | * A table of ranges including some yes ranges and some no ranges. | 76 | * A table of ranges including some yes ranges and some no ranges. |
| 75 | * If a register belongs to a no_range, the corresponding check function | 77 | * If a register belongs to a no_range, the corresponding check function |
