platform_init.h 534 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2017-2018, 2020 The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __PLATFORM_INIT_H__
  6. #define __PLATFORM_INIT_H__
  7. int msm_dai_q6_hdmi_init(void);
  8. int msm_dai_q6_init(void);
  9. void msm_dai_q6_exit(void);
  10. void msm_dai_q6_hdmi_exit(void);
  11. #if IS_ENABLED(CONFIG_WCD9XXX_CODEC_CORE)
  12. int msm_dai_slim_init(void);
  13. void msm_dai_slim_exit(void);
  14. #else
  15. static inline int msm_dai_slim_init(void)
  16. {
  17. return 0;
  18. };
  19. static inline void msm_dai_slim_exit(void)
  20. {
  21. };
  22. #endif
  23. #endif