From: Eduardo Silva Date: Mon, 1 Jun 2026 19:46:44 +0000 (+0200) Subject: fbdev: grvga: Fix CLUT register address offset in comment X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=7b8055831c1796d2be7eeeb00d4513f497c8390d;p=thirdparty%2Flinux.git fbdev: grvga: Fix CLUT register address offset in comment The comment does not match the actual address offset. According to the GRLIB IP Library Reference Manual (p. 2119), the CLUT register is at offset 0x28, not the value stated in the comment. Signed-off-by: Eduardo Silva Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/grvga.c b/drivers/video/fbdev/grvga.c index de8ab817d4065..a6594bcd74e82 100644 --- a/drivers/video/fbdev/grvga.c +++ b/drivers/video/fbdev/grvga.c @@ -33,7 +33,7 @@ struct grvga_regs { u32 line_length; /* 0x10 */ u32 fb_pos; /* 0x14 */ u32 clk_vector[4]; /* 0x18 */ - u32 clut; /* 0x20 */ + u32 clut; /* 0x28 */ }; struct grvga_par {