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/drivers/intel/gma/gma-gfx_init.ads | |
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/drivers/intel/gma/gma-gfx_init.ads')
-rw-r--r-- | src/drivers/intel/gma/gma-gfx_init.ads | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/intel/gma/gma-gfx_init.ads b/src/drivers/intel/gma/gma-gfx_init.ads index 88f64d9ffe..ec1e0ce0ce 100644 --- a/src/drivers/intel/gma/gma-gfx_init.ads +++ b/src/drivers/intel/gma/gma-gfx_init.ads @@ -16,14 +16,14 @@ is ---------------------------------------------------------------------------- - function c_fb_add_framebuffer_info + function C_Fb_Add_Framebuffer_Info_Simple (fb_addr: Interfaces.C.size_t; x_resolution : word32; y_resolution : word32; bytes_per_line : word32; bits_per_pixel : word8) - return Interfaces.C.size_t; + return Interfaces.C.int; - pragma import (C, c_fb_add_framebuffer_info, "fb_add_framebuffer_info"); + pragma import (C, C_Fb_Add_Framebuffer_Info_Simple, "fb_add_framebuffer_info_simple"); end GMA.GFX_Init; |