summaryrefslogtreecommitdiff
path: root/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch')
-rw-r--r--target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch b/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
index 50a26cb..2bfdffe 100644
--- a/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
+++ b/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.21gum/include/sound/pcm_params.h
+Index: linux-2.6.21.7/include/sound/pcm_params.h
===================================================================
---- linux-2.6.21gum.orig/include/sound/pcm_params.h
-+++ linux-2.6.21gum/include/sound/pcm_params.h
+--- linux-2.6.21.7.orig/include/sound/pcm_params.h
++++ linux-2.6.21.7/include/sound/pcm_params.h
@@ -179,16 +179,8 @@ static inline int snd_mask_single(const
return 1;
}
@@ -21,10 +21,10 @@ Index: linux-2.6.21gum/include/sound/pcm_params.h
static inline int snd_mask_refine_first(struct snd_mask *mask)
{
-Index: linux-2.6.21gum/sound/core/pcm_lib.c
+Index: linux-2.6.21.7/sound/core/pcm_lib.c
===================================================================
---- linux-2.6.21gum.orig/sound/core/pcm_lib.c
-+++ linux-2.6.21gum/sound/core/pcm_lib.c
+--- linux-2.6.21.7.orig/sound/core/pcm_lib.c
++++ linux-2.6.21.7/sound/core/pcm_lib.c
@@ -2128,3 +2128,18 @@ snd_pcm_sframes_t snd_pcm_lib_readv(stru
}
@@ -44,10 +44,10 @@ Index: linux-2.6.21gum/sound/core/pcm_lib.c
+}
+
+EXPORT_SYMBOL(snd_mask_refine);
-Index: linux-2.6.21gum/sound/core/pcm_native.c
+Index: linux-2.6.21.7/sound/core/pcm_native.c
===================================================================
---- linux-2.6.21gum.orig/sound/core/pcm_native.c
-+++ linux-2.6.21gum/sound/core/pcm_native.c
+--- linux-2.6.21.7.orig/sound/core/pcm_native.c
++++ linux-2.6.21.7/sound/core/pcm_native.c
@@ -3450,3 +3450,9 @@ const struct file_operations snd_pcm_f_o
.fasync = snd_pcm_fasync,
}