[Angstrom-devel] 2 typos (one in lzo_kernel-r1.patch and one in kernel 2.6.21.1's sound/soc/codecs/wm8750.c) and one update to usb_pxa27x_udc-r3.patch (for kernel 2.6.21-rc7+)
Владимир
civil at gentoo.ru
Fri May 4 21:44:47 CEST 2007
Found 2 bugs:
1) http://rpsys.net/openzaurus/patches/lzo_kernel-r1.patch 2 syntax
errors. Here is patch for this patch:
--- ./lzo_kernel-r1.patch
2007-05-04 23:21:01.000000000 +0400 +++
lzo_kernel-r1.patch-fixed 2007-05-04 21:03:03.000000000 +0400 @@
-826,8 +826,8 @@ +EXPORT_SYMBOL_GPL(lzo1x_decompress);
+EXPORT_SYMBOL_GPL(lzo1x_decompress_safe);
+
-+MODULE_LICENSE("GPL")
-+MODULE_DESCRIPTION("LZO compression library")
++MODULE_LICENSE("GPL");
++MODULE_DESCRIPTION("LZO compression library");
+
diff --git a/lib/lzo/minilzo.c b/lib/lzo/minilzo.c
new file mode 100644
2) In Kernel 2.6.21.1 there is a typo in sound/soc/codecs/wm8750.c:
--- ./sound/soc/codecs/wm8750.c 2007-05-04 23:09:26.000000000
+0400 +++ ./sound/soc/codecs/wm8750-new.c 2007-05-04
23:11:53.000000000 +0400 @@ -808,7 +808,7 @@
codec->dai = &wm8750_dai;
codec->num_dai = 1;
codec->reg_cache_size = sizeof(wm8750_reg);
- codec->reg_cache = kmemdup(wm8750_reg, sizeof(wm8750_reg),
GFP_KRENEL);
+ codec->reg_cache = kmemdup(wm8750_reg, sizeof(wm8750_reg),
GFP_KERNEL); if (codec->reg_cache == NULL)
return -ENOMEM;
And for kernel 2.6.21.1 I need to modify one patch:
--- usb_pxa27x_udc-r3.patch-old 2007-05-04 16:53:30.000000000
+0400 +++ usb_pxa27x_udc-r3.patch 2007-05-04 22:18:56.000000000
+0400 @@ -161,7 +161,7 @@
+#include <asm/hardware.h>
+#include <asm/arch/pxa-regs.h>
+
-+#include <linux/usb_ch9.h>
++#include <linux/usb/ch9.h>
+#include <linux/usb_gadget.h>
+
+#include <asm/arch/udc.h>
----
Vladimir aka Civil <civil at gentoo.ru> <civil.over at gmail.com>
ICQ: 681501
More information about the Angstrom-distro-devel
mailing list