mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
1802d0beec
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 655 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
562 B
C
25 lines
562 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx
|
|
*
|
|
* Copyright (C) 2014 Texas Instruments, Inc.
|
|
*
|
|
* Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
|
*
|
|
* Based on: sound/soc/tegra/tegra_pcm.h
|
|
*/
|
|
|
|
#ifndef __EDMA_PCM_H__
|
|
#define __EDMA_PCM_H__
|
|
|
|
#if IS_ENABLED(CONFIG_SND_SOC_TI_EDMA_PCM)
|
|
int edma_pcm_platform_register(struct device *dev);
|
|
#else
|
|
static inline int edma_pcm_platform_register(struct device *dev)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif /* CONFIG_SND_SOC_TI_EDMA_PCM */
|
|
|
|
#endif /* __EDMA_PCM_H__ */
|