Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266953
b: refs/heads/master
c: 1869488
h: refs/heads/master
i:
  266951: 8ed69e4
v: v3
  • Loading branch information
Mark Brown committed Aug 8, 2011
1 parent 30078a5 commit cf94a30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e2ae66df37a14c9b33889b243b0ae1352ada1dd
refs/heads/master: 18694886bddb2d4d905535a0149aeef3b5f9c936
4 changes: 4 additions & 0 deletions trunk/include/linux/regmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ struct spi_device;
* can be read from.
* @volatile_register: Optional callback returning true if the register
* value can't be cached.
* @precious_register: Optional callback returning true if the rgister
* should not be read outside of a call from the driver
* (eg, a clear on read interrupt status register).
*/
struct regmap_config {
int reg_bits;
Expand All @@ -42,6 +45,7 @@ struct regmap_config {
bool (*writeable_reg)(struct device *dev, unsigned int reg);
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);
};

typedef int (*regmap_hw_write)(struct device *dev, const void *data,
Expand Down

0 comments on commit cf94a30

Please sign in to comment.