Browse Source

regmap: Add kerneldoc for struct regmap_config

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 14 years ago
parent
commit
dd898b2095
1 changed files with 6 additions and 0 deletions
  1. 6 0
      include/linux/regmap.h

+ 6 - 0
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;