mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: edid: Fix a function signature
BUG=None BRANCH=None TEST=None Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/15211 Tested-by: build bot (Jenkins) Change-Id: Id69cecb5cdd21c2d92aca74658f39c790f7b7b01 Reviewed-on: https://chromium-review.googlesource.com/383693 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
570b248381
commit
3ae49f19a8
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ struct edid {
|
|||
int decode_edid(unsigned char *edid, int size, struct edid *out);
|
||||
void edid_set_framebuffer_bits_per_pixel(struct edid *edid, int fb_bpp,
|
||||
int row_byte_alignment);
|
||||
void set_vbe_mode_info_valid(struct edid *edid, uintptr_t fb_addr);
|
||||
void set_vbe_mode_info_valid(const struct edid *edid, uintptr_t fb_addr);
|
||||
int set_display_mode(struct edid *edid, enum edid_modes mode);
|
||||
|
||||
#endif /* EDID_H */
|
||||
|
|
|
@ -1547,7 +1547,7 @@ void edid_set_framebuffer_bits_per_pixel(struct edid *edid, int fb_bpp,
|
|||
* Take an edid, and create a framebuffer. Set vbe_valid to 1.
|
||||
*/
|
||||
|
||||
void set_vbe_mode_info_valid(struct edid *edid, uintptr_t fb_addr)
|
||||
void set_vbe_mode_info_valid(const struct edid *edid, uintptr_t fb_addr)
|
||||
{
|
||||
edid_fb.physical_address = fb_addr;
|
||||
edid_fb.x_resolution = edid->x_resolution;
|
||||
|
|
Loading…
Add table
Reference in a new issue