Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 *  Copyright (C) 2018 Texas Instruments Incorporated - https://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)
10int udma_pcm_platform_register(struct device *dev);
11#else
12static 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__ */
v5.14.15
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 *  Copyright (C) 2018 Texas Instruments Incorporated - https://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)
10int udma_pcm_platform_register(struct device *dev);
11#else
12static 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__ */