Merge tag 'for-5.16/bdev-size-2021-11-09' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / include / sound / soc-topology.h
index 4afd667..b4b896f 100644 (file)
@@ -151,7 +151,7 @@ struct snd_soc_tplg_ops {
                struct snd_soc_tplg_hdr *);
 
        /* completion - called at completion of firmware loading */
-       void (*complete)(struct snd_soc_component *);
+       int (*complete)(struct snd_soc_component *comp);
 
        /* manifest - optional to inform component of manifest */
        int (*manifest)(struct snd_soc_component *, int index,
@@ -188,8 +188,7 @@ int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w,
 
 #else
 
-static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp,
-                                               u32 index)
+static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp)
 {
        return 0;
 }