3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 23:02:18 +00:00
Brooklyn/sound/soc/ti/udma-pcm.h

19 lines
419 B
C
Raw Normal View History

2022-04-02 13:24:21 +00:00
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2018 Texas Instruments Incorporated - https://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__ */