diff options
| author | Olof Johansson <olof@lixom.net> | 2014-07-19 17:59:07 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2014-07-19 17:59:07 -0400 |
| commit | 4e9816d012dbc28dc89559261c6ffbf8ffc440dd (patch) | |
| tree | dee9f8b31f3d6d2fb141541da88e1cc1329b017e /include/linux/regmap.h | |
| parent | da98f44f27d81d7fe9a41f69af4fe08c18d13b56 (diff) | |
| parent | 1795cd9b3a91d4b5473c97f491d63892442212ab (diff) | |
Merge tag 'v3.16-rc5' into next/fixes-non-critical
Linux 3.16-rc5
Diffstat (limited to 'include/linux/regmap.h')
| -rw-r--r-- | include/linux/regmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 85691b9b4fa7..7b0e4b425cdf 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -276,6 +276,10 @@ typedef int (*regmap_hw_async_write)(void *context, | |||
| 276 | typedef int (*regmap_hw_read)(void *context, | 276 | typedef int (*regmap_hw_read)(void *context, |
| 277 | const void *reg_buf, size_t reg_size, | 277 | const void *reg_buf, size_t reg_size, |
| 278 | void *val_buf, size_t val_size); | 278 | void *val_buf, size_t val_size); |
| 279 | typedef int (*regmap_hw_reg_read)(void *context, unsigned int reg, | ||
| 280 | unsigned int *val); | ||
| 281 | typedef int (*regmap_hw_reg_write)(void *context, unsigned int reg, | ||
| 282 | unsigned int val); | ||
| 279 | typedef struct regmap_async *(*regmap_hw_async_alloc)(void); | 283 | typedef struct regmap_async *(*regmap_hw_async_alloc)(void); |
| 280 | typedef void (*regmap_hw_free_context)(void *context); | 284 | typedef void (*regmap_hw_free_context)(void *context); |
| 281 | 285 | ||
| @@ -309,7 +313,9 @@ struct regmap_bus { | |||
| 309 | regmap_hw_write write; | 313 | regmap_hw_write write; |
| 310 | regmap_hw_gather_write gather_write; | 314 | regmap_hw_gather_write gather_write; |
| 311 | regmap_hw_async_write async_write; | 315 | regmap_hw_async_write async_write; |
| 316 | regmap_hw_reg_write reg_write; | ||
| 312 | regmap_hw_read read; | 317 | regmap_hw_read read; |
| 318 | regmap_hw_reg_read reg_read; | ||
| 313 | regmap_hw_free_context free_context; | 319 | regmap_hw_free_context free_context; |
| 314 | regmap_hw_async_alloc async_alloc; | 320 | regmap_hw_async_alloc async_alloc; |
| 315 | u8 read_flag_mask; | 321 | u8 read_flag_mask; |
