sdm660-internal.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __SDM660_INTERNAL
  13. #define __SDM660_INTERNAL
  14. #include <sound/soc.h>
  15. #if IS_ENABLED(CONFIG_SND_SOC_INT_CODEC)
  16. int msm_int_cdc_init(struct platform_device *pdev,
  17. struct msm_asoc_mach_data *pdata,
  18. struct snd_soc_card **card,
  19. struct wcd_mbhc_config *mbhc_cfg);
  20. #else
  21. int msm_int_cdc_init(struct platform_device *pdev,
  22. struct msm_asoc_mach_data *pdata,
  23. struct snd_soc_card **card,
  24. struct wcd_mbhc_config *mbhc_cfg)
  25. {
  26. return 0;
  27. }
  28. #endif
  29. #endif