git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: Fix SG-buffer DMA with non-coherent architectures
[pandora-kernel.git]
/
include
/
sound
/
soc-of-simple.h
diff --git
a/include/sound/soc-of-simple.h
b/include/sound/soc-of-simple.h
index
696fc51
..
a064e19
100644
(file)
--- a/
include/sound/soc-of-simple.h
+++ b/
include/sound/soc-of-simple.h
@@
-7,6
+7,8
@@
#ifndef _INCLUDE_SOC_OF_H_
#define _INCLUDE_SOC_OF_H_
#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>
#include <linux/of.h>
#include <sound/soc.h>
@@
-18,4
+20,6
@@
int of_snd_soc_register_platform(struct snd_soc_platform *platform,
struct device_node *node,
struct snd_soc_dai *cpu_dai);
struct device_node *node,
struct snd_soc_dai *cpu_dai);
+#endif
+
#endif /* _INCLUDE_SOC_OF_H_ */
#endif /* _INCLUDE_SOC_OF_H_ */