diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-28 16:01:35 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-28 16:01:35 -0400 |
commit | c435d5b9b855ca3d06d34e6b6005963cca72786a (patch) | |
tree | 8633f13b7bcc6995c14c6ff71a65821182af4876 /include/linux/regmap.h | |
parent | 18f513db93408fdeeba68d5b0931bc26315d28b4 (diff) | |
parent | 6112fe60ac1bd1e68da8cc4248289d6e48015f9b (diff) |
Merge remote-tracking branch 'regmap/topic/range' into regmap-next
Diffstat (limited to 'include/linux/regmap.h')
-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 336718382ebb..f12dca97b9d5 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 |