summaryrefslogtreecommitdiff
path: root/hw/display/vga.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-06-23 11:46:06 +1000
committerGerd Hoffmann <kraxel@redhat.com>2014-09-30 13:34:09 +0200
commite657d8ef3c810c4c46d3a61bb76103f77bdb499b (patch)
tree59b30afff8b3f0bb0af9663f64e47328830d5667 /hw/display/vga.c
parentace89b8ff21cc3fb20986a334e54e6e6a1ccf729 (diff)
downloadqemu-e657d8ef3c810c4c46d3a61bb76103f77bdb499b.zip
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>
Diffstat (limited to 'hw/display/vga.c')
-rw-r--r--hw/display/vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 21aa2c670b..9f60f88610 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -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)