···141141 int io_ops_count;142142};143143144144+#ifdef CONFIG_SND_SOC_TOPOLOGY145145+144146/* gets a pointer to data from the firmware block header */145147static inline const void *snd_soc_tplg_get_data(struct snd_soc_tplg_hdr *hdr)146148{···166164int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w,167165 const struct snd_soc_tplg_widget_events *events, int num_events,168166 u16 event_type);167167+168168+#else169169+170170+static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp,171171+ u32 index)172172+{173173+ return 0;174174+}175175+176176+#endif169177170178#endif
+6
include/uapi/sound/asoc.h
···1818#include <linux/types.h>1919#include <sound/asound.h>20202121+#ifndef __KERNEL__2222+#error This API is an early revision and not enabled in the current2323+#error kernel release, it will be enabled in a future kernel version2424+#error with incompatible changes to what is here.2525+#endif2626+2127/*2228 * Maximum number of channels topology kcontrol can represent.2329 */