swh:1:snp:49cd9498d6cccc5e78252c27dcb645bcf7bf0c91
Raw File
Tip revision: b57f95a38233a2e73b679bea4a5453a1cc2a1cc9 authored by Linus Torvalds on 10 May 2010, 01:36:28 UTC
Linux 2.6.34-rc7
Tip revision: b57f95a
soc-of-simple.h
/*
 * OF helpers for ALSA SoC
 *
 * Copyright (C) 2008, Secret Lab Technologies Ltd.
 */

#ifndef _INCLUDE_SOC_OF_H_
#define _INCLUDE_SOC_OF_H_

#if defined(CONFIG_SND_SOC_OF_SIMPLE) || defined(CONFIG_SND_SOC_OF_SIMPLE_MODULE)

#include <linux/of.h>
#include <sound/soc.h>

int of_snd_soc_register_codec(struct snd_soc_codec_device *codec_dev,
			      void *codec_data, struct snd_soc_dai *dai,
			      struct device_node *node);

int of_snd_soc_register_platform(struct snd_soc_platform *platform,
				 struct device_node *node,
				 struct snd_soc_dai *cpu_dai);

#endif

#endif /* _INCLUDE_SOC_OF_H_ */
back to top