From 79afe60b0931f56ea2ee596aaae61f5ff0194de6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 14 Oct 2015 22:01:29 +0100 Subject: [fbcon] Move margin calculations to fbcon.c Signed-off-by: Michael Brown --- src/include/ipxe/fbcon.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/ipxe/fbcon.h b/src/include/ipxe/fbcon.h index 7837845ed..42ffca3d7 100644 --- a/src/include/ipxe/fbcon.h +++ b/src/include/ipxe/fbcon.h @@ -12,8 +12,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include #include #include - -struct pixel_buffer; +#include /** Character width, in pixels */ #define FBCON_CHAR_WIDTH 9 @@ -149,10 +148,9 @@ struct fbcon { extern int fbcon_init ( struct fbcon *fbcon, userptr_t start, struct fbcon_geometry *pixel, - struct fbcon_margin *margin, struct fbcon_colour_map *map, struct fbcon_font *font, - struct pixel_buffer *pixbuf ); + struct console_configuration *config ); extern void fbcon_fini ( struct fbcon *fbcon ); extern void fbcon_putchar ( struct fbcon *fbcon, int character ); -- cgit v1.2.3-55-g7522