summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-24 15:20:41 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-01 18:21:41 +0400
commit2a8a856d427fea68a5d538adf52edae4cdbb246b (patch)
tree8890b384930513adb3f804d64503a89281b83ecd /sound/soc/codecs/wm8994.h
parenta1691343a397157dd5f67bce50435f64024a462d (diff)
downloadlinux-2a8a856d427fea68a5d538adf52edae4cdbb246b.tar.xz
ASoC: Don't use control_data to get struct wm8994
This will support refactoring to make use of the regmap API more directly in the core. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r--sound/soc/codecs/wm8994.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index 1087425cbac0..c3e71d72eb6a 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -70,10 +70,11 @@ struct wm8994_fll_config {
#define WM8994_NUM_DRC 3
#define WM8994_NUM_EQ 3
+struct wm8994;
+
struct wm8994_priv {
struct wm_hubs_data hubs;
- enum snd_soc_control_type control_type;
- void *control_data;
+ struct wm8994 *wm8994;
struct snd_soc_codec *codec;
int sysclk[2];
int sysclk_rate[2];