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>
This commit is contained in:
parent
3d5ff65b27
commit
070561a295
4 changed files with 15 additions and 5 deletions
|
|
@ -148,6 +148,13 @@ fb_add_framebuffer_info(uintptr_t fb_addr, uint32_t x_resolution,
|
|||
return info;
|
||||
}
|
||||
|
||||
/* Wrapper for Ada to have a simpler function signature */
|
||||
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)
|
||||
{
|
||||
return fb_add_framebuffer_info(fb_addr, x_res, y_res, bytes_per_line, bits_per_pixel) != NULL;
|
||||
}
|
||||
|
||||
void fb_set_orientation(struct fb_info *info, enum lb_fb_orientation orientation)
|
||||
{
|
||||
if (!info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue