summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-20 13:25:26 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-20 13:25:26 +0000
commit147646fc66ceaec1da163314bce531eb6400357f (patch)
treec220e34244bccda500e256b39899ebc009b89318 /target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch
parenteadf5923710dbf30f958dc4886af287f669770fe (diff)
downloadmaster-31e0f0ae-147646fc66ceaec1da163314bce531eb6400357f.tar.gz
master-31e0f0ae-147646fc66ceaec1da163314bce531eb6400357f.tar.bz2
master-31e0f0ae-147646fc66ceaec1da163314bce531eb6400357f.zip
remove some annoying warnings and fix snd modules build
SVN-Revision: 31365
Diffstat (limited to 'target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch')
-rw-r--r--target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch b/target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch
new file mode 100644
index 0000000000..6d033320cb
--- /dev/null
+++ b/target/linux/generic/patches-2.6.30/035-snd-build-fixes.patch
@@ -0,0 +1,11 @@
+--- a/include/sound/soc-dai.h
++++ b/include/sound/soc-dai.h
+@@ -223,7 +223,7 @@ struct snd_soc_dai {
+ union {
+ struct snd_soc_codec *codec;
+ struct snd_soc_platform *platform;
+- };
++ } parent;
+
+ struct list_head list;
+ };