diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:07:53 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:07:53 +0000 |
| commit | 4fbe7358c7747a9165f776eb19addbb9baf7def2 (patch) | |
| tree | bc7076b4f6d10c2cc2942539bb666e50f0b66954 /libdde-linux26/libdde_linux26/contrib/include/sound/soc-of-simple.h | |
| parent | 21adb5284111190057db245cfc2b54091920c373 (diff) | |
rename libdde_linux26 into libdde-linux26 to make dpkg-source happy
Diffstat (limited to 'libdde-linux26/libdde_linux26/contrib/include/sound/soc-of-simple.h')
| -rw-r--r-- | libdde-linux26/libdde_linux26/contrib/include/sound/soc-of-simple.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libdde-linux26/libdde_linux26/contrib/include/sound/soc-of-simple.h b/libdde-linux26/libdde_linux26/contrib/include/sound/soc-of-simple.h new file mode 100644 index 00000000..a064e193 --- /dev/null +++ b/libdde-linux26/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 <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_ */ |
