1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx
5 * Copyright (C) 2014 Texas Instruments, Inc.
7 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
9 * Based on: sound/soc/tegra/tegra_pcm.h
12 #ifndef __EDMA_PCM_H__
13 #define __EDMA_PCM_H__
15 #if IS_ENABLED(CONFIG_SND_SOC_TI_EDMA_PCM)
16 int edma_pcm_platform_register(struct device
*dev
);
18 static inline int edma_pcm_platform_register(struct device
*dev
)
22 #endif /* CONFIG_SND_SOC_TI_EDMA_PCM */
24 #endif /* __EDMA_PCM_H__ */