mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 00:57:49 +07:00
2619e03703
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>
19 lines
418 B
C
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__ */
|