summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/common/mtk-base-afe.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/mediatek/common/mtk-base-afe.h')
-rw-r--r--sound/soc/mediatek/common/mtk-base-afe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/mediatek/common/mtk-base-afe.h b/sound/soc/mediatek/common/mtk-base-afe.h
index 3a78f6f17195..e50adc9116cf 100644
--- a/sound/soc/mediatek/common/mtk-base-afe.h
+++ b/sound/soc/mediatek/common/mtk-base-afe.h
@@ -17,6 +17,8 @@
#ifndef _MTK_BASE_AFE_H_
#define _MTK_BASE_AFE_H_
+#define MTK_STREAM_NUM (SNDRV_PCM_STREAM_LAST + 1)
+
struct mtk_base_memif_data {
int id;
const char *name;