| Grant Likely | 84bc278 | 2008-07-29 11:42:28 +0100 | [diff] [blame] | 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 |  | 
| Mark Brown | b78ddb1 | 2008-07-29 11:42:29 +0100 | [diff] [blame] | 10 | #if defined(CONFIG_SND_SOC_OF_SIMPLE) || defined(CONFIG_SND_SOC_OF_SIMPLE_MODULE) | 
 | 11 |  | 
| Grant Likely | 84bc278 | 2008-07-29 11:42:28 +0100 | [diff] [blame] | 12 | #include <linux/of.h> | 
 | 13 | #include <sound/soc.h> | 
 | 14 |  | 
 | 15 | int of_snd_soc_register_codec(struct snd_soc_codec_device *codec_dev, | 
 | 16 | 			      void *codec_data, struct snd_soc_dai *dai, | 
 | 17 | 			      struct device_node *node); | 
 | 18 |  | 
 | 19 | int of_snd_soc_register_platform(struct snd_soc_platform *platform, | 
 | 20 | 				 struct device_node *node, | 
 | 21 | 				 struct snd_soc_dai *cpu_dai); | 
 | 22 |  | 
| Mark Brown | b78ddb1 | 2008-07-29 11:42:29 +0100 | [diff] [blame] | 23 | #endif | 
 | 24 |  | 
| Grant Likely | 84bc278 | 2008-07-29 11:42:28 +0100 | [diff] [blame] | 25 | #endif /* _INCLUDE_SOC_OF_H_ */ |