vga: Rename vga_template.h to vga-helpers.h
It's no longer a template, we only instanciate the file once. Keep it a #included file so the functions remain static. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
ace89b8ff2
commit
e657d8ef3c
@ -1007,7 +1007,7 @@ void vga_mem_writeb(VGACommonState *s, hwaddr addr, uint32_t val)
|
||||
typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d,
|
||||
const uint8_t *s, int width);
|
||||
|
||||
#include "vga_template.h"
|
||||
#include "vga-helpers.h"
|
||||
|
||||
/* return true if the palette was modified */
|
||||
static int update_palette16(VGACommonState *s)
|
||||
|
Loading…
Reference in New Issue
Block a user