summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/edid.h2
-rw-r--r--src/lib/edid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/edid.h b/src/include/edid.h
index 73412a3304..cf812583a5 100644
--- a/src/include/edid.h
+++ b/src/include/edid.h
@@ -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 */
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 8bcb95630f..d1b9c9fc47 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -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;