linux/sound/soc/ti/udma-pcm.h
Peter Ujfalusi 2619e03703
ASoC: ti: Add udma-pcm platform driver for UDMA
Platform driver glue for platforms using UDMA (am654 and j721e).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200210140950.11090-2-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-11 11:47:55 +00:00

19 lines
418 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com
*/
#ifndef __UDMA_PCM_H__
#define __UDMA_PCM_H__
#if IS_ENABLED(CONFIG_SND_SOC_TI_UDMA_PCM)
int udma_pcm_platform_register(struct device *dev);
#else
static inline int udma_pcm_platform_register(struct device *dev)
{
return 0;
}
#endif /* CONFIG_SND_SOC_TI_UDMA_PCM */
#endif /* __UDMA_PCM_H__ */