summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-19 10:35:27 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-19 10:35:27 +0000
commitaec382b478d6cced28a7cdf0dc7110a152978cf0 (patch)
tree6d7bbdc5c187193af8f3a145bbdb608f4f832c61 /meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git
parent62c6e3ef89aa62cd123e8bba73d98dcb9c205932 (diff)
downloadopenembedded-core-aec382b478d6cced28a7cdf0dc7110a152978cf0.tar.gz
openembedded-core-aec382b478d6cced28a7cdf0dc7110a152978cf0.tar.bz2
openembedded-core-aec382b478d6cced28a7cdf0dc7110a152978cf0.tar.xz
openembedded-core-aec382b478d6cced28a7cdf0dc7110a152978cf0.zip
linux-rp-2.6.23+2.6.24: Add missing patches
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2912 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git')
-rw-r--r--meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/mmcsd_no_scr_check-r2.patch29
-rw-r--r--meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/w100fb-unused-var.patch17
2 files changed, 46 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/mmcsd_no_scr_check-r2.patch b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/mmcsd_no_scr_check-r2.patch
new file mode 100644
index 000000000..ac2245f08
--- /dev/null
+++ b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/mmcsd_no_scr_check-r2.patch
@@ -0,0 +1,29 @@
+---
+ drivers/mmc/core/sd.c | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+Index: linux-2.6.23/drivers/mmc/core/sd.c
+===================================================================
+--- linux-2.6.23.orig/drivers/mmc/core/sd.c 2007-10-17 11:33:26.000000000 +0200
++++ linux-2.6.23/drivers/mmc/core/sd.c 2007-10-17 11:33:49.000000000 +0200
+@@ -173,14 +173,15 @@
+
+ scr_struct = UNSTUFF_BITS(resp, 60, 4);
+ if (scr_struct != 0) {
+- printk(KERN_ERR "%s: unrecognised SCR structure version %d\n",
++ printk(KERN_WARNING "%s: unrecognised SCR structure version %d\n",
+ mmc_hostname(card->host), scr_struct);
+- return -EINVAL;
++ scr->sda_vsn = 0;
++ scr->bus_widths = 0;
++ } else {
++ scr->sda_vsn = UNSTUFF_BITS(resp, 56, 4);
++ scr->bus_widths = UNSTUFF_BITS(resp, 48, 4);
+ }
+
+- scr->sda_vsn = UNSTUFF_BITS(resp, 56, 4);
+- scr->bus_widths = UNSTUFF_BITS(resp, 48, 4);
+-
+ return 0;
+ }
+
diff --git a/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/w100fb-unused-var.patch b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/w100fb-unused-var.patch
new file mode 100644
index 000000000..8cbbb6bd0
--- /dev/null
+++ b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc0+git/w100fb-unused-var.patch
@@ -0,0 +1,17 @@
+From: Marcin Juszkiewicz <openembedded@haerwu.biz>
+
+drivers/video/w100fb.c: In function ‘w100fb_imageblit’:
+drivers/video/w100fb.c:507: warning: unused variable ‘par’
+
+Signed-off-by: Marcin Juszkiewicz <openembedded@haerwu.biz>
+
+--- linux-2.6.23/drivers/video/w100fb.c 2007-10-11 16:52:30.000000000 +0200
++++ linux-2.6.23/drivers/video/w100fb.c 2007-10-15 12:56:01.000000000 +0200
+@@ -504,7 +504,6 @@ static void w100_hostdata(u32 width, u32
+ static void w100fb_imageblit(struct fb_info *info,
+ const struct fb_image *image)
+ {
+- struct w100fb_par *par = info->par;
+ union dp_gui_master_cntl_u gmc;
+ u32 fgcolor, bgcolor;
+