summaryrefslogtreecommitdiff
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-29 00:01:35 +0400
committerMark Brown <broonie@linaro.org>2013-10-29 00:01:35 +0400
commitc435d5b9b855ca3d06d34e6b6005963cca72786a (patch)
tree8633f13b7bcc6995c14c6ff71a65821182af4876 /include/linux/regmap.h
parent18f513db93408fdeeba68d5b0931bc26315d28b4 (diff)
parent6112fe60ac1bd1e68da8cc4248289d6e48015f9b (diff)
downloadlinux-c435d5b9b855ca3d06d34e6b6005963cca72786a.tar.xz
Merge remote-tracking branch 'regmap/topic/range' into regmap-next
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h2
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 {
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