wcd937x.h 475 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright (c) 2018, The Linux Foundation. All rights reserved.
  3. */
  4. #ifndef _WCD937X_H
  5. #define _WCD937X_H
  6. #ifdef CONFIG_SND_SOC_WCD937X
  7. extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root,
  8. struct snd_soc_codec *codec);
  9. #else
  10. extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root,
  11. struct snd_soc_codec *codec)
  12. {
  13. return 0;
  14. }
  15. #endif /* CONFIG_SND_SOC_WCD937X */
  16. #endif