cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

edma-pcm.h (562B)


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