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>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
#include <mach/hardware.h>
|
||||
|
||||
struct regmap;
|
||||
|
||||
/*
|
||||
* Register values.
|
||||
*/
|
||||
@@ -113,6 +115,7 @@ struct davinci_vc {
|
||||
|
||||
/* Memory resources */
|
||||
void __iomem *base;
|
||||
struct regmap *regmap;
|
||||
|
||||
/* MFD cells */
|
||||
struct mfd_cell cells[DAVINCI_VC_CELLS];
|
||||
|
Reference in New Issue
Block a user