Skip to content

Commit

Permalink
regmap: Add kerneldoc for struct regmap_config
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Aug 8, 2011
1 parent 322a8b0 commit dd898b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/linux/regmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd898b2

Please sign in to comment.