From 5393d8b418bbfe48509ef3f40070175bca9bf71a Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 22 Sep 2013 23:42:31 +0800 Subject: [PATCH] Modules/Tegra2Vid - Fixed out-of-date IO function prototypes --- KernelLand/Modules/Display/Tegra2Vid/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/KernelLand/Modules/Display/Tegra2Vid/main.c b/KernelLand/Modules/Display/Tegra2Vid/main.c index 09bbbb87..20fdb8d5 100644 --- a/KernelLand/Modules/Display/Tegra2Vid/main.c +++ b/KernelLand/Modules/Display/Tegra2Vid/main.c @@ -24,8 +24,8 @@ void Tegra2Vid_Uninstall(); // Internal // Filesystem -size_t Tegra2Vid_Read(tVFS_Node *node, off_t off, size_t len, void *buffer); -size_t Tegra2Vid_Write(tVFS_Node *node, off_t off, size_t len, const void *buffer); +size_t Tegra2Vid_Read(tVFS_Node *node, off_t off, size_t len, void *buffer, Uint Flags); +size_t Tegra2Vid_Write(tVFS_Node *node, off_t off, size_t len, const void *buffer, Uint Flags); int Tegra2Vid_IOCtl(tVFS_Node *node, int id, void *data); // -- Internals int Tegra2Vid_int_SetMode(int Mode); @@ -167,7 +167,7 @@ void Tegra2Vid_Uninstall() /** * \brief Read from the framebuffer */ -size_t Tegra2Vid_Read(tVFS_Node *node, off_t off, size_t len, void *buffer) +size_t Tegra2Vid_Read(tVFS_Node *node, off_t off, size_t len, void *buffer, Uint Flags) { return 0; } @@ -175,7 +175,7 @@ size_t Tegra2Vid_Read(tVFS_Node *node, off_t off, size_t len, void *buffer) /** * \brief Write to the framebuffer */ -size_t Tegra2Vid_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer) +size_t Tegra2Vid_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer, Uint Flags) { gTegra2Vid_DrvUtil_BufInfo.BufferFormat = giTegra2Vid_BufferMode; return DrvUtil_Video_WriteLFB(&gTegra2Vid_DrvUtil_BufInfo, Offset, Length, Buffer); -- 2.20.1