diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-11 04:39:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-11 04:39:32 +0100 |
commit | 8e24a6e696ebdc44513357ac00b6ee18f54e69f5 (patch) | |
tree | 82cc7ac9259a9f20159f9265aca52533b1cb3ca8 /drivers/base/regmap/internal.h | |
parent | Merge remote-tracking branch 'regmap/topic/lock' into regmap-next (diff) | |
parent | regmap: introduce tables for readable/writeable/volatile/precious checks (diff) | |
download | linux-8e24a6e696ebdc44513357ac00b6ee18f54e69f5.tar.xz linux-8e24a6e696ebdc44513357ac00b6ee18f54e69f5.zip |
Merge remote-tracking branch 'regmap/topic/table' into regmap-next
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r-- | drivers/base/regmap/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 0fadeba64ce0..401d1919635a 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h @@ -69,6 +69,10 @@ struct regmap { bool (*readable_reg)(struct device *dev, unsigned int reg); bool (*volatile_reg)(struct device *dev, unsigned int reg); bool (*precious_reg)(struct device *dev, unsigned int reg); + const struct regmap_access_table *wr_table; + const struct regmap_access_table *rd_table; + const struct regmap_access_table *volatile_table; + const struct regmap_access_table *precious_table; u8 read_flag_mask; u8 write_flag_mask; |