summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/internal.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-06-30 12:40:03 +0100
committerMark Brown <broonie@linaro.org>2013-06-30 12:40:03 +0100
commit7bc8c4c37aea74332b16ffb5412a8ad355d508ce (patch)
treeca37bdf59d25c68fe97a3894184aba79c4f1aa87 /drivers/base/regmap/internal.h
parentad4f496b445eac30bb6ddc72599bf6dd73529cd2 (diff)
parent539fde59ebc615bcb9af373af8947e866dc072c7 (diff)
downloadlinux-7bc8c4c37aea74332b16ffb5412a8ad355d508ce.tar.gz
linux-7bc8c4c37aea74332b16ffb5412a8ad355d508ce.tar.bz2
linux-7bc8c4c37aea74332b16ffb5412a8ad355d508ce.zip
Merge remote-tracking branch 'regmap/topic/field' into regmap-next
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r--drivers/base/regmap/internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h
index ae23d8391aa0..29c83160ca29 100644
--- a/drivers/base/regmap/internal.h
+++ b/drivers/base/regmap/internal.h
@@ -176,6 +176,14 @@ struct regmap_range_node {
unsigned int window_len;
};
+struct regmap_field {
+ struct regmap *regmap;
+ unsigned int mask;
+ /* lsb */
+ unsigned int shift;
+ unsigned int reg;
+};
+
#ifdef CONFIG_DEBUG_FS
extern void regmap_debugfs_initcall(void);
extern void regmap_debugfs_init(struct regmap *map, const char *name);