ASoC: Add indirection for CODEC private data
[deliverable/linux.git] / sound / soc / codecs / wm_hubs.h
index 36d3fba1de8b560ee414d5092461c844e0fa3f86..e51c16683589ffb612f3ec58761f01ea24c7223e 100644 (file)
@@ -18,6 +18,13 @@ struct snd_soc_codec;
 
 extern const unsigned int wm_hubs_spkmix_tlv[];
 
+/* This *must* be the first element of the codec->private_data struct */
+struct wm_hubs_data {
+       int dcs_codes;
+       int dcs_readback_mode;
+       int hp_startup_mode;
+};
+
 extern int wm_hubs_add_analogue_controls(struct snd_soc_codec *);
 extern int wm_hubs_add_analogue_routes(struct snd_soc_codec *, int, int);
 extern int wm_hubs_handle_analogue_pdata(struct snd_soc_codec *,
This page took 0.025248 seconds and 5 git commands to generate.