xref: /openbmc/linux/sound/soc/ti/udma-pcm.h (revision 95298d63)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Copyright (C) 2018 Texas Instruments Incorporated - http://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