aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-20 22:28:58 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-08 15:47:00 +0900
commitdd898b209577b83283bb62400c96426d7582e5a2 (patch)
tree2fb11efe2e29aab8ab6a092e887dc406e28d2979 /include/linux/regmap.h
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
downloadkernel_goldelico_gta04-dd898b209577b83283bb62400c96426d7582e5a2.zip
kernel_goldelico_gta04-dd898b209577b83283bb62400c96426d7582e5a2.tar.gz
kernel_goldelico_gta04-dd898b209577b83283bb62400c96426d7582e5a2.tar.bz2
regmap: Add kerneldoc for struct regmap_config
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 60a65cd..cf8e4cf 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -20,6 +20,12 @@
struct i2c_client;
struct spi_device;
+/**
+ * Configuration for the register map of a device.
+ *
+ * @reg_bits: Number of bits in a register address, mandatory.
+ * @val_bits: Number of bits in a register value, mandatory.
+ */
struct regmap_config {
int reg_bits;
int val_bits;