From d511c2fe7492d6a1ba35db7f9078d3fd4b73b166 Mon Sep 17 00:00:00 2001
From: John Hodge <tpg@mutabah.net>
Date: Wed, 19 Oct 2011 20:50:02 +0800
Subject: [PATCH] Modules/PL110 - Helps if I fix this too

---
 Modules/Display/PL110/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Modules/Display/PL110/main.c b/Modules/Display/PL110/main.c
index 99a982f2..4f6ab777 100644
--- a/Modules/Display/PL110/main.c
+++ b/Modules/Display/PL110/main.c
@@ -135,7 +135,8 @@ Uint64 PL110_Read(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer)
  */
 Uint64 PL110_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer)
 {
-	return DrvUtil_Video_WriteLFB(giPL110_BufferMode, &gPL110_DrvUtil_BufInfo, Offset, Length, Buffer);
+	gPL110_DrvUtil_BufInfo.BufferFormat = giPL110_BufferMode;
+	return DrvUtil_Video_WriteLFB(&gPL110_DrvUtil_BufInfo, Offset, Length, Buffer);
 }
 
 const char *csaPL110_IOCtls[] = {DRV_IOCTLNAMES, DRV_VIDEO_IOCTLNAMES, NULL};
-- 
GitLab