summaryrefslogtreecommitdiff
path: root/packages/kexecboot/linux-kexecboot-2.6.24/pxafb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/kexecboot/linux-kexecboot-2.6.24/pxafb.patch')
-rw-r--r--packages/kexecboot/linux-kexecboot-2.6.24/pxafb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/kexecboot/linux-kexecboot-2.6.24/pxafb.patch b/packages/kexecboot/linux-kexecboot-2.6.24/pxafb.patch
new file mode 100644
index 0000000000..7fe693cd91
--- /dev/null
+++ b/packages/kexecboot/linux-kexecboot-2.6.24/pxafb.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.23/drivers/video/pxafb.c
+===================================================================
+--- linux-2.6.23.orig/drivers/video/pxafb.c 2008-01-25 16:25:21.000000000 -0800
++++ linux-2.6.23/drivers/video/pxafb.c 2008-01-25 16:32:14.000000000 -0800
+@@ -1194,7 +1194,7 @@
+ if ((clkinfo->old == 13000))
+ break;
+
+- pcd = get_pcd(fbi->fb.var.pixclock);
++ pcd = get_pcd(fbi,fbi->fb.var.pixclock);
+ lccr3 = fbi->reg_lccr3;
+ set_hsync_time(fbi, pcd);
+ fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd);