Skip to content
  1. May 20, 2023
    • Arnd Bergmann's avatar
      fbdev: i810: include i810_main.h in i810_dvt.c · f6cd4c96
      Arnd Bergmann authored
      
      
      Building with W=1 shows that a header needs to be included to
      make the prototypes visible:
      
      drivers/video/fbdev/i810/i810_dvt.c:194:6: error: no previous prototype for 'round_off_xres' [-Werror=missing-prototypes]
      drivers/video/fbdev/i810/i810_dvt.c:233:6: error: no previous prototype for 'i810fb_encode_registers' [-Werror=missing-prototypes]
      drivers/video/fbdev/i810/i810_dvt.c:245:6: error: no previous prototype for 'i810fb_fill_var_timings' [-Werror=missing-prototypes]
      drivers/video/fbdev/i810/i810_dvt.c:279:5: error: no previous prototype for 'i810_get_watermark' [-Werror=missing-prototypes]
      
      Adding the header leads to another warning from a mismatched
      prototype, so fix this as well:
      
      drivers/video/fbdev/i810/i810_dvt.c:280:5: error: conflicting types for 'i810_get_watermark'; have 'u32(struct fb_var_screeninfo *,
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      f6cd4c96
    • Arnd Bergmann's avatar
      fbdev: fbmem: mark get_fb_unmapped_area() static · 19abb458
      Arnd Bergmann authored
      
      
      There is a global function with this name on sparc, but no
      global declaration:
      
      drivers/video/fbdev/core/fbmem.c:1469:15: error: no previous prototype for 'get_fb_unmapped_area'
      
      Make the generic definition static to avoid this warning. On
      sparc, this is never seen.
      
      Edit by Helge:
      Update Kconfig text as suggested by Geert Uytterhoeven.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      19abb458
  2. May 19, 2023
  3. May 15, 2023
  4. May 14, 2023
  5. May 13, 2023