2020-02-10 07:09:49 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
2020-07-18 04:08:57 -07:00
|
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com
|
2020-02-10 07:09:49 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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__ */
|