From 8a6d48c0542876eb3acfc0970c0ab7872db08d5f Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Sun, 6 Dec 2009 05:26:23 +0100 Subject: check in the original version of dde linux26. --- .../contrib/include/sound/soc-of-simple.h | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 libdde_linux26/contrib/include/sound/soc-of-simple.h (limited to 'libdde_linux26/contrib/include/sound/soc-of-simple.h') diff --git a/libdde_linux26/contrib/include/sound/soc-of-simple.h b/libdde_linux26/contrib/include/sound/soc-of-simple.h new file mode 100644 index 00000000..a064e193 --- /dev/null +++ b/libdde_linux26/contrib/include/sound/soc-of-simple.h @@ -0,0 +1,25 @@ +/* + * 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 +#include + +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_ */ -- cgit v1.2.3