diff options
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/wm8400-private.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/mfd/wm8400-private.h b/include/linux/mfd/wm8400-private.h index 2aab4e93a5c9..0147b6968510 100644 --- a/include/linux/mfd/wm8400-private.h +++ b/include/linux/mfd/wm8400-private.h | |||
| @@ -25,16 +25,15 @@ | |||
| 25 | #include <linux/mutex.h> | 25 | #include <linux/mutex.h> |
| 26 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
| 27 | 27 | ||
| 28 | struct regmap; | ||
| 29 | |||
| 28 | #define WM8400_REGISTER_COUNT 0x55 | 30 | #define WM8400_REGISTER_COUNT 0x55 |
| 29 | 31 | ||
| 30 | struct wm8400 { | 32 | struct wm8400 { |
| 31 | struct device *dev; | 33 | struct device *dev; |
| 32 | 34 | ||
| 33 | int (*read_dev)(void *data, char reg, int count, u16 *dst); | ||
| 34 | int (*write_dev)(void *data, char reg, int count, const u16 *src); | ||
| 35 | |||
| 36 | struct mutex io_lock; | 35 | struct mutex io_lock; |
| 37 | void *io_data; | 36 | struct regmap *regmap; |
| 38 | 37 | ||
| 39 | u16 reg_cache[WM8400_REGISTER_COUNT]; | 38 | u16 reg_cache[WM8400_REGISTER_COUNT]; |
| 40 | 39 | ||
