summaryrefslogtreecommitdiffstats
path: root/sound/soc/ti/udma-pcm.h
blob: 54111e7312c106b83ec61e16dc85b544e5584362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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__ */