udma-pcm.h 419 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com
  4. */
  5. #ifndef __UDMA_PCM_H__
  6. #define __UDMA_PCM_H__
  7. #if IS_ENABLED(CONFIG_SND_SOC_TI_UDMA_PCM)
  8. int udma_pcm_platform_register(struct device *dev);
  9. #else
  10. static inline int udma_pcm_platform_register(struct device *dev)
  11. {
  12. return 0;
  13. }
  14. #endif /* CONFIG_SND_SOC_TI_UDMA_PCM */
  15. #endif /* __UDMA_PCM_H__ */