diff options
Diffstat (limited to 'include/sound/soc-of-simple.h')
-rw-r--r-- | include/sound/soc-of-simple.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sound/soc-of-simple.h b/include/sound/soc-of-simple.h new file mode 100644 index 000000000000..696fc513e234 --- /dev/null +++ b/include/sound/soc-of-simple.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * OF helpers for ALSA SoC | ||
3 | * | ||
4 | * Copyright (C) 2008, Secret Lab Technologies Ltd. | ||
5 | */ | ||
6 | |||
7 | #ifndef _INCLUDE_SOC_OF_H_ | ||
8 | #define _INCLUDE_SOC_OF_H_ | ||
9 | |||
10 | #include <linux/of.h> | ||
11 | #include <sound/soc.h> | ||
12 | |||
13 | int of_snd_soc_register_codec(struct snd_soc_codec_device *codec_dev, | ||
14 | void *codec_data, struct snd_soc_dai *dai, | ||
15 | struct device_node *node); | ||
16 | |||
17 | int of_snd_soc_register_platform(struct snd_soc_platform *platform, | ||
18 | struct device_node *node, | ||
19 | struct snd_soc_dai *cpu_dai); | ||
20 | |||
21 | #endif /* _INCLUDE_SOC_OF_H_ */ | ||