diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-23 11:24:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-09-02 09:33:59 +0000 |
commit | 070561a2953bbabdb5ea6f09f9af180d22d570a4 (patch) | |
tree | d63dc7c8f2c4b58b501cc07a98ec62ef2ea0c56b /src/include/framebuffer_info.h | |
parent | 3d5ff65b273c5bd1fcfcef478869d20661a23470 (diff) |
drivers/intel/gma: Fix mismatching types for fb_add_framebuffer_info
GCC LTO found this.
Change-Id: I2d5a9a86dbb91a5505891a30c6e9072b1b4dfc92
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84056
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/framebuffer_info.h')
-rw-r--r-- | src/include/framebuffer_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/framebuffer_info.h b/src/include/framebuffer_info.h index 83445ecea0..451d893e99 100644 --- a/src/include/framebuffer_info.h +++ b/src/include/framebuffer_info.h @@ -14,6 +14,8 @@ fb_add_framebuffer_info_ex(const struct lb_framebuffer *fb); struct fb_info *fb_add_framebuffer_info(uintptr_t fb_addr, uint32_t x_resolution, uint32_t y_resolution, uint32_t bytes_per_line, uint8_t bits_per_pixel); +int fb_add_framebuffer_info_simple(uintptr_t fb_addr, uint32_t x_res, uint32_t y_res, + uint32_t bytes_per_line, uint8_t bits_per_pixel); void fb_set_orientation(struct fb_info *info, enum lb_fb_orientation orientation); |