xref: /linux/sound/soc/ti/udma-pcm.h (revision 662fa3d6099374c4615bf64d06895e3573b935b2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com
4  */
5 
6 #ifndef __UDMA_PCM_H__
7 #define __UDMA_PCM_H__
8 
9 #if IS_ENABLED(CONFIG_SND_SOC_TI_UDMA_PCM)
10 int udma_pcm_platform_register(struct device *dev);
11 #else
12 static inline int udma_pcm_platform_register(struct device *dev)
13 {
14 	return 0;
15 }
16 #endif /* CONFIG_SND_SOC_TI_UDMA_PCM */
17 
18 #endif /* __UDMA_PCM_H__ */
19