soc-of-simple.h 608 B

12345678910111213141516171819202122232425
  1. /*
  2. * OF helpers for ALSA SoC
  3. *
  4. * Copyright (C) 2008, Secret Lab Technologies Ltd.
  5. */
  6. #ifndef _INCLUDE_SOC_OF_H_
  7. #define _INCLUDE_SOC_OF_H_
  8. #if defined(CONFIG_SND_SOC_OF_SIMPLE) || defined(CONFIG_SND_SOC_OF_SIMPLE_MODULE)
  9. #include <linux/of.h>
  10. #include <sound/soc.h>
  11. int of_snd_soc_register_codec(struct snd_soc_codec_device *codec_dev,
  12. void *codec_data, struct snd_soc_dai *dai,
  13. struct device_node *node);
  14. int of_snd_soc_register_platform(struct snd_soc_platform *platform,
  15. struct device_node *node,
  16. struct snd_soc_dai *cpu_dai);
  17. #endif
  18. #endif /* _INCLUDE_SOC_OF_H_ */