diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-23 11:46:06 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-30 13:34:09 +0200 |
commit | e657d8ef3c810c4c46d3a61bb76103f77bdb499b (patch) | |
tree | 59b30afff8b3f0bb0af9663f64e47328830d5667 /hw | |
parent | ace89b8ff21cc3fb20986a334e54e6e6a1ccf729 (diff) |
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')
-rw-r--r-- | hw/display/vga-helpers.h (renamed from hw/display/vga_template.h) | 0 | ||||
-rw-r--r-- | hw/display/vga.c | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga_template.h b/hw/display/vga-helpers.h index 94f6de2046..94f6de2046 100644 --- a/hw/display/vga_template.h +++ b/hw/display/vga-helpers.h 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) |