diff options
| author | Mark Brown <broonie@linaro.org> | 2013-08-31 09:08:56 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-02 04:27:49 -0400 |
| commit | 921a2c870faa0a88c34e5c8c2afbd898fe8d325d (patch) | |
| tree | 2950eec417ebf3b2ec72ef6e842bced7e55fac0f /include/linux/mfd | |
| parent | 6a017660768f8aca6ebf513cfb0c7ac241547deb (diff) | |
mfd: davinci_voicecodec: Provide a regmap for register I/O
This will be used to support refactoring of the ASoC CODEC driver to use
a regmap.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/davinci_voicecodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/davinci_voicecodec.h b/include/linux/mfd/davinci_voicecodec.h index 13a1ee95a233..5166935ce66d 100644 --- a/include/linux/mfd/davinci_voicecodec.h +++ b/include/linux/mfd/davinci_voicecodec.h | |||
| @@ -30,6 +30,8 @@ | |||
| 30 | 30 | ||
| 31 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
| 32 | 32 | ||
| 33 | struct regmap; | ||
| 34 | |||
| 33 | /* | 35 | /* |
| 34 | * Register values. | 36 | * Register values. |
| 35 | */ | 37 | */ |
| @@ -113,6 +115,7 @@ struct davinci_vc { | |||
| 113 | 115 | ||
| 114 | /* Memory resources */ | 116 | /* Memory resources */ |
| 115 | void __iomem *base; | 117 | void __iomem *base; |
| 118 | struct regmap *regmap; | ||
| 116 | 119 | ||
| 117 | /* MFD cells */ | 120 | /* MFD cells */ |
| 118 | struct mfd_cell cells[DAVINCI_VC_CELLS]; | 121 | struct mfd_cell cells[DAVINCI_VC_CELLS]; |
