ASoC: topology: Use unload() op directly
[platform/kernel/linux-starfive.git] / include / sound / soc-topology.h
index b4b896f..f055c69 100644 (file)
@@ -62,7 +62,7 @@ struct snd_soc_dobj {
        enum snd_soc_dobj_type type;
        unsigned int index;     /* objects can belong in different groups */
        struct list_head list;
-       struct snd_soc_tplg_ops *ops;
+       int (*unload)(struct snd_soc_component *comp, struct snd_soc_dobj *dobj);
        union {
                struct snd_soc_dobj_control control;
                struct snd_soc_dobj_widget widget;