From 4580beb04e7ab8e53ad97be8dc93acb65f76b7a7 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 29 Jul 2008 11:42:29 +0100 Subject: [PATCH] --- yaml --- r: 110845 b: refs/heads/master c: b78ddb10704a7f930e5e631de8227c78a6676a1b h: refs/heads/master i: 110843: a159afff037d8757df7ab1b53d57ff986d2a6091 v: v3 --- [refs] | 2 +- trunk/include/sound/soc-of-simple.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index edec78e22aed..d0f99c7df402 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 84bc278b1f04920e867e4b46e094bcc066393d41 +refs/heads/master: b78ddb10704a7f930e5e631de8227c78a6676a1b diff --git a/trunk/include/sound/soc-of-simple.h b/trunk/include/sound/soc-of-simple.h index 696fc513e234..a064e1934a56 100644 --- a/trunk/include/sound/soc-of-simple.h +++ b/trunk/include/sound/soc-of-simple.h @@ -7,6 +7,8 @@ #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 @@ -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); +#endif + #endif /* _INCLUDE_SOC_OF_H_ */