ASoC: core: remove the 'of_' prefix of of_xlate_tdm_slot_mask.
[cascardo/linux.git] / include / sound / soc-dai.h
index 71f27c4..fad7676 100644 (file)
@@ -142,6 +142,8 @@ struct snd_soc_dai_ops {
         * Called by soc_card drivers, normally in their hw_params.
         */
        int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fmt);
+       int (*xlate_tdm_slot_mask)(unsigned int slots,
+               unsigned int *tx_mask, unsigned int *rx_mask);
        int (*set_tdm_slot)(struct snd_soc_dai *dai,
                unsigned int tx_mask, unsigned int rx_mask,
                int slots, int slot_width);
@@ -270,6 +272,7 @@ struct snd_soc_dai {
        /* parent platform/codec */
        struct snd_soc_platform *platform;
        struct snd_soc_codec *codec;
+       struct snd_soc_component *component;
 
        struct snd_soc_card *card;