OSDN Git Service

fbdev/g364fb: fix build failure with mips
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sat, 2 Sep 2023 09:51:02 +0000 (10:51 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Sep 2023 15:18:40 +0000 (08:18 -0700)
Fix the typo which resulted in the driver using FB_DEFAULT_IOMEM_HELPERS
instead of FB_DEFAULT_IOMEM_OPS as the fbdev I/O helpers.

Fixes: 501126083855 ("fbdev/g364fb: Use fbdev I/O helpers")
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbdev/g364fb.c

index 7a1013b..ee6fe51 100644 (file)
@@ -112,7 +112,7 @@ static int g364fb_blank(int blank, struct fb_info *info);
 
 static const struct fb_ops g364fb_ops = {
        .owner          = THIS_MODULE,
-       FB_DEFAULT_IOMEM_HELPERS,
+       FB_DEFAULT_IOMEM_OPS,
        .fb_setcolreg   = g364fb_setcolreg,
        .fb_pan_display = g364fb_pan_display,
        .fb_blank       = g364fb_blank,